@Generated(value="software.amazon.awssdk:codegen") public class EBSOptions extends Object implements StructuredPojo, ToCopyableBuilder<EBSOptions.Builder,EBSOptions>
Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see Configuring EBS-based Storage.
Modifier and Type | Class and Description |
---|---|
static interface |
EBSOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static EBSOptions.Builder |
builder() |
Boolean |
ebsEnabled()
Specifies whether EBS-based storage is enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
iops()
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EBSOptions.Builder> |
serializableBuilderClass() |
EBSOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
volumeSize()
Integer to specify the size of an EBS volume.
|
VolumeType |
volumeType()
Specifies the volume type for EBS-based storage.
|
String |
volumeTypeString()
Specifies the volume type for EBS-based storage.
|
copy
public Boolean ebsEnabled()
Specifies whether EBS-based storage is enabled.
public VolumeType volumeType()
Specifies the volume type for EBS-based storage.
If the service returns an enum value that is not available in the current SDK version, volumeType
will
return VolumeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
volumeTypeString()
.
VolumeType
public String volumeTypeString()
Specifies the volume type for EBS-based storage.
If the service returns an enum value that is not available in the current SDK version, volumeType
will
return VolumeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
volumeTypeString()
.
VolumeType
public Integer volumeSize()
Integer to specify the size of an EBS volume.
public Integer iops()
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
public EBSOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EBSOptions.Builder,EBSOptions>
public static EBSOptions.Builder builder()
public static Class<? extends EBSOptions.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.