public static interface VolumeAttachment.Builder extends 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.
|
copyapply, buildVolumeAttachment.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,
VolumeAttachmentStateVolumeAttachment.Builder state(VolumeAttachmentState state)
The attachment state of the volume.
state - The attachment state of the volume.VolumeAttachmentState,
VolumeAttachmentStateVolumeAttachment.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.