public static class VolumeAttachment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeAttachment |
build() |
VolumeAttachment.Builder |
copy(VolumeAttachment model) |
VolumeAttachment.Builder |
device(String device)
The device name.
|
VolumeAttachment.Builder |
instanceKey(String instanceKey)
The ID of the instance.
|
VolumeAttachment.Builder |
isDeleteOnTermination(Boolean isDeleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
|
VolumeAttachment.Builder |
status(String status)
The attachment state of the volume.
|
VolumeAttachment.Builder |
volumeKey(String volumeKey)
The ID of the volume.
|
public VolumeAttachment.Builder isDeleteOnTermination(Boolean isDeleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
isDeleteOnTermination
- the value to setpublic VolumeAttachment.Builder device(String device)
The device name.
device
- the value to setpublic VolumeAttachment.Builder instanceKey(String instanceKey)
The ID of the instance.
instanceKey
- the value to setpublic VolumeAttachment.Builder status(String status)
The attachment state of the volume.
status
- the value to setpublic VolumeAttachment.Builder volumeKey(String volumeKey)
The ID of the volume.
volumeKey
- the value to setpublic VolumeAttachment build()
public VolumeAttachment.Builder copy(VolumeAttachment model)
Copyright © 2016–2024. All rights reserved.