public static interface VolumeAttachment.Builder extends SdkPojo, CopyableBuilder<VolumeAttachment.Builder,VolumeAttachment>
Modifier and Type | Method and Description |
---|---|
VolumeAttachment.Builder |
attachTime(Instant attachTime)
The time stamp when the attachment initiated.
|
VolumeAttachment.Builder |
deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
|
VolumeAttachment.Builder |
device(String device)
The device name.
|
VolumeAttachment.Builder |
instanceId(String instanceId)
The ID of the instance.
|
VolumeAttachment.Builder |
state(String state)
The attachment state of the volume.
|
VolumeAttachment.Builder |
state(VolumeAttachmentState state)
The attachment state of the volume.
|
VolumeAttachment.Builder |
volumeId(String volumeId)
The ID of the volume.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
VolumeAttachment.Builder attachTime(Instant attachTime)
The time stamp when the attachment initiated.
attachTime
- The time stamp when the attachment initiated.VolumeAttachment.Builder device(String device)
The device name.
device
- The device name.VolumeAttachment.Builder instanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.VolumeAttachment.Builder state(String state)
The attachment state of the volume.
state
- The attachment state of the volume.VolumeAttachmentState
,
VolumeAttachmentState
VolumeAttachment.Builder state(VolumeAttachmentState state)
The attachment state of the volume.
state
- The attachment state of the volume.VolumeAttachmentState
,
VolumeAttachmentState
VolumeAttachment.Builder volumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.VolumeAttachment.Builder deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
deleteOnTermination
- Indicates whether the EBS volume is deleted on instance termination.Copyright © 2022. All rights reserved.