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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3OnDeviceServiceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3OnDeviceServiceConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerfaultTolerance()>Fault tolerance level of the cluster.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends S3OnDeviceServiceConfiguration.Builder>serializableBuilderClass()IntegerserviceSize()Applicable when creating a cluster.DoublestorageLimit()If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used.StorageUnitstorageUnit()Storage unit.StringstorageUnitAsString()Storage unit.S3OnDeviceServiceConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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,
storageUnitwill returnStorageUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageUnitAsString().- Returns:
- Storage unit. Currently the only supported unit is TB.
- See Also:
StorageUnit
-
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,
storageUnitwill returnStorageUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageUnitAsString().- Returns:
- Storage unit. Currently the only supported unit is TB.
- See Also:
StorageUnit
-
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
StorageLimitmatches 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
StorageLimitmatches more than one Amazon S3 compatible storage on Snow family devices service configuration.
-
toBuilder
public S3OnDeviceServiceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3OnDeviceServiceConfiguration.Builder,S3OnDeviceServiceConfiguration>
-
builder
public static S3OnDeviceServiceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3OnDeviceServiceConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-