@Generated(value="software.amazon.awssdk:codegen") public final class EbsInstanceBlockDeviceSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,EbsInstanceBlockDeviceSpecification>
Amazon EBS-specific block device mapping specifications.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EbsInstanceBlockDeviceSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EbsInstanceBlockDeviceSpecification.Builder |
builder() |
Boolean |
deleteOnTermination()
Use to configure delete on termination of the associated device.
|
Boolean |
encrypted()
Use to configure device encryption.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
iops()
Use to configure device IOPS.
|
String |
kmsKeyId()
Use to configure the KMS key to use when encrypting the device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EbsInstanceBlockDeviceSpecification.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The snapshot that defines the device contents.
|
EbsInstanceBlockDeviceSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
volumeSize()
Use to override the device's volume size.
|
EbsVolumeType |
volumeType()
Use to override the device's volume type.
|
String |
volumeTypeAsString()
Use to override the device's volume type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean encrypted()
Use to configure device encryption.
public Boolean deleteOnTermination()
Use to configure delete on termination of the associated device.
public Integer iops()
Use to configure device IOPS.
public String kmsKeyId()
Use to configure the KMS key to use when encrypting the device.
public String snapshotId()
The snapshot that defines the device contents.
public Integer volumeSize()
Use to override the device's volume size.
public EbsVolumeType volumeType()
Use to override the device's volume type.
If the service returns an enum value that is not available in the current SDK version, volumeType will
return EbsVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
volumeTypeAsString().
EbsVolumeTypepublic String volumeTypeAsString()
Use to override the device's volume type.
If the service returns an enum value that is not available in the current SDK version, volumeType will
return EbsVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
volumeTypeAsString().
EbsVolumeTypepublic EbsInstanceBlockDeviceSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,EbsInstanceBlockDeviceSpecification>public static EbsInstanceBlockDeviceSpecification.Builder builder()
public static Class<? extends EbsInstanceBlockDeviceSpecification.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.