@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateEbsBlockDevice extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateEbsBlockDevice.Builder,LaunchTemplateEbsBlockDevice>
Describes a block device for an EBS volume.
Modifier and Type | Class and Description |
---|---|
static interface |
LaunchTemplateEbsBlockDevice.Builder |
Modifier and Type | Method and Description |
---|---|
static LaunchTemplateEbsBlockDevice.Builder |
builder() |
Boolean |
deleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
|
Boolean |
encrypted()
Indicates whether the EBS volume is encrypted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
iops()
The number of I/O operations per second (IOPS) that the volume supports.
|
String |
kmsKeyId()
The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LaunchTemplateEbsBlockDevice.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot.
|
LaunchTemplateEbsBlockDevice.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
volumeSize()
The size of the volume, in GiB.
|
VolumeType |
volumeType()
The volume type.
|
String |
volumeTypeAsString()
The volume type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public Boolean encrypted()
Indicates whether the EBS volume is encrypted.
public Boolean deleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
public Integer iops()
The number of I/O operations per second (IOPS) that the volume supports.
public String kmsKeyId()
The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.
public String snapshotId()
The ID of the snapshot.
public Integer volumeSize()
The size of the volume, in GiB.
public VolumeType volumeType()
The volume type.
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
volumeTypeAsString()
.
VolumeType
public String volumeTypeAsString()
The volume type.
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
volumeTypeAsString()
.
VolumeType
public LaunchTemplateEbsBlockDevice.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LaunchTemplateEbsBlockDevice.Builder,LaunchTemplateEbsBlockDevice>
public static LaunchTemplateEbsBlockDevice.Builder builder()
public static Class<? extends LaunchTemplateEbsBlockDevice.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.