Class S3OnDeviceServiceConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<S3OnDeviceServiceConfiguration.Builder,
S3OnDeviceServiceConfiguration>
Amazon S3 compatible storage on Snow family devices configuration items.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integer
>Fault tolerance level of the cluster.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends S3OnDeviceServiceConfiguration.Builder> final Integer
Applicable when creating a cluster.final Double
If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used.final StorageUnit
Storage unit.final String
Storage unit.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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 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:
-
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 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:
-
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
>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 interfaceToCopyableBuilder<S3OnDeviceServiceConfiguration.Builder,
S3OnDeviceServiceConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-