@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 final Boolean encrypted()
Use to configure device encryption.
public final Boolean deleteOnTermination()
Use to configure delete on termination of the associated device.
public final Integer iops()
Use to configure device IOPS.
public final String kmsKeyId()
Use to configure the KMS key to use when encrypting the device.
public final String snapshotId()
The snapshot that defines the device contents.
public final Integer volumeSize()
Use to override the device's volume size.
public final 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.