@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeId()
The ID of the EBS volume.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant attachTime()
The time stamp when the attachment initiated.
public final Boolean deleteOnTermination()
Indicates whether the volume is deleted on instance termination.
public final 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().
AttachmentStatuspublic final 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().
AttachmentStatuspublic final String volumeId()
The ID of the EBS volume.
public EbsInstanceBlockDevice.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>public static EbsInstanceBlockDevice.Builder builder()
public static Class<? extends EbsInstanceBlockDevice.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.