@Generated(value="software.amazon.awssdk:codegen") public final class EbsInstanceBlockDevice extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>
Describes a parameter used to set up an EBS volume in a block device mapping.
Modifier and Type | Class and Description |
---|---|
static interface |
EbsInstanceBlockDevice.Builder |
Modifier and Type | Method and Description |
---|---|
Instant |
attachTime()
The time stamp when the attachment initiated.
|
static EbsInstanceBlockDevice.Builder |
builder() |
Boolean |
deleteOnTermination()
Indicates whether the volume is deleted on instance termination.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EbsInstanceBlockDevice.Builder> |
serializableBuilderClass() |
AttachmentStatus |
status()
The attachment state.
|
String |
statusAsString()
The attachment state.
|
EbsInstanceBlockDevice.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
volumeId()
The ID of the EBS volume.
|
copy
public Instant attachTime()
The time stamp when the attachment initiated.
public Boolean deleteOnTermination()
Indicates whether the volume is deleted on instance termination.
public AttachmentStatus status()
The attachment state.
If the service returns an enum value that is not available in the current SDK version, status
will
return AttachmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AttachmentStatus
public String statusAsString()
The attachment state.
If the service returns an enum value that is not available in the current SDK version, status
will
return AttachmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AttachmentStatus
public String volumeId()
The ID of the EBS volume.
public EbsInstanceBlockDevice.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>
public static EbsInstanceBlockDevice.Builder builder()
public static Class<? extends EbsInstanceBlockDevice.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.