@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3OnDeviceServiceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Amazon S3 compatible storage on Snow family devices configuration items.
Constructor and Description |
---|
S3OnDeviceServiceConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3OnDeviceServiceConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getFaultTolerance()
>Fault tolerance level of the cluster.
|
Integer |
getServiceSize()
Applicable when creating a cluster.
|
Double |
getStorageLimit()
If the specified storage limit value matches storage limit of one of the defined configurations, that
configuration will be used.
|
String |
getStorageUnit()
Storage unit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFaultTolerance(Integer faultTolerance)
>Fault tolerance level of the cluster.
|
void |
setServiceSize(Integer serviceSize)
Applicable when creating a cluster.
|
void |
setStorageLimit(Double storageLimit)
If the specified storage limit value matches storage limit of one of the defined configurations, that
configuration will be used.
|
void |
setStorageUnit(String storageUnit)
Storage unit.
|
String |
toString()
Returns a string representation of this object.
|
S3OnDeviceServiceConfiguration |
withFaultTolerance(Integer faultTolerance)
>Fault tolerance level of the cluster.
|
S3OnDeviceServiceConfiguration |
withServiceSize(Integer serviceSize)
Applicable when creating a cluster.
|
S3OnDeviceServiceConfiguration |
withStorageLimit(Double storageLimit)
If the specified storage limit value matches storage limit of one of the defined configurations, that
configuration will be used.
|
S3OnDeviceServiceConfiguration |
withStorageUnit(StorageUnit storageUnit)
Storage unit.
|
S3OnDeviceServiceConfiguration |
withStorageUnit(String storageUnit)
Storage unit.
|
public void setStorageLimit(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.
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.public Double getStorageLimit()
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.
public S3OnDeviceServiceConfiguration withStorageLimit(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.
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.public void setStorageUnit(String storageUnit)
Storage unit. Currently the only supported unit is TB.
storageUnit
- Storage unit. Currently the only supported unit is TB.StorageUnit
public String getStorageUnit()
Storage unit. Currently the only supported unit is TB.
StorageUnit
public S3OnDeviceServiceConfiguration withStorageUnit(String storageUnit)
Storage unit. Currently the only supported unit is TB.
storageUnit
- Storage unit. Currently the only supported unit is TB.StorageUnit
public S3OnDeviceServiceConfiguration withStorageUnit(StorageUnit storageUnit)
Storage unit. Currently the only supported unit is TB.
storageUnit
- Storage unit. Currently the only supported unit is TB.StorageUnit
public void setServiceSize(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.
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.public Integer getServiceSize()
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.
public S3OnDeviceServiceConfiguration withServiceSize(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.
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.public void setFaultTolerance(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.
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.public Integer getFaultTolerance()
>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.
StorageLimit
matches more than one Amazon S3 compatible storage on Snow family devices
service configuration.public S3OnDeviceServiceConfiguration withFaultTolerance(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.
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.public String toString()
toString
in class Object
Object.toString()
public S3OnDeviceServiceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.