Class S3OnDeviceServiceConfiguration

java.lang.Object
software.amazon.awssdk.services.snowball.model.S3OnDeviceServiceConfiguration
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<S3OnDeviceServiceConfiguration.Builder,S3OnDeviceServiceConfiguration>

@Generated("software.amazon.awssdk:codegen") public final class S3OnDeviceServiceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3OnDeviceServiceConfiguration.Builder,S3OnDeviceServiceConfiguration>

Amazon S3 compatible storage on Snow family devices configuration items.

See Also:
  • Method Details

    • storageLimit

      public final Double storageLimit()

      If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided.

      Returns:
      If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided.
    • storageUnit

      public final StorageUnit storageUnit()

      Storage unit. Currently the only supported unit is TB.

      If the service returns an enum value that is not available in the current SDK version, storageUnit will return StorageUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from storageUnitAsString().

      Returns:
      Storage unit. Currently the only supported unit is TB.
      See Also:
    • storageUnitAsString

      public final String storageUnitAsString()

      Storage unit. Currently the only supported unit is TB.

      If the service returns an enum value that is not available in the current SDK version, storageUnit will return StorageUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from storageUnitAsString().

      Returns:
      Storage unit. Currently the only supported unit is TB.
      See Also:
    • serviceSize

      public final Integer serviceSize()

      Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted.

      Returns:
      Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted.
    • faultTolerance

      public final Integer faultTolerance()

      >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified StorageLimit matches more than one Amazon S3 compatible storage on Snow family devices service configuration.

      Returns:
      >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified StorageLimit matches more than one Amazon S3 compatible storage on Snow family devices service configuration.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<S3OnDeviceServiceConfiguration.Builder,S3OnDeviceServiceConfiguration>
      Returns:
      a builder for type T
    • builder

      public static S3OnDeviceServiceConfiguration.Builder builder()
    • serializableBuilderClass

      public static Class<? extends S3OnDeviceServiceConfiguration.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.