Class EbsInstanceBlockDevice
- java.lang.Object
-
- software.amazon.awssdk.services.snowdevicemanagement.model.EbsInstanceBlockDevice
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>
@Generated("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 Amazon Elastic Block Store (Amazon EBS) volume in a block device mapping.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEbsInstanceBlockDevice.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantattachTime()When the attachment was initiated.static EbsInstanceBlockDevice.Builderbuilder()BooleandeleteOnTermination()A value that indicates whether the volume is deleted on instance termination.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EbsInstanceBlockDevice.Builder>serializableBuilderClass()AttachmentStatusstatus()The attachment state.StringstatusAsString()The attachment state.EbsInstanceBlockDevice.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvolumeId()The ID of the Amazon EBS volume.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
attachTime
public final Instant attachTime()
When the attachment was initiated.
- Returns:
- When the attachment was initiated.
-
deleteOnTermination
public final Boolean deleteOnTermination()
A value that indicates whether the volume is deleted on instance termination.
- Returns:
- A value that indicates whether the volume is deleted on instance termination.
-
status
public final AttachmentStatus status()
The attachment state.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAttachmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The attachment state.
- See Also:
AttachmentStatus
-
statusAsString
public final String statusAsString()
The attachment state.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAttachmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The attachment state.
- See Also:
AttachmentStatus
-
volumeId
public final String volumeId()
The ID of the Amazon EBS volume.
- Returns:
- The ID of the Amazon EBS volume.
-
toBuilder
public EbsInstanceBlockDevice.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>
-
builder
public static EbsInstanceBlockDevice.Builder builder()
-
serializableBuilderClass
public static Class<? extends EbsInstanceBlockDevice.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-