CopyableBuilder<AttachVolumeRequest.Builder,AttachVolumeRequest>, SdkBuilder<AttachVolumeRequest.Builder,AttachVolumeRequest>public static interface AttachVolumeRequest.Builder extends CopyableBuilder<AttachVolumeRequest.Builder,AttachVolumeRequest>
| Modifier and Type | Method | Description |
|---|---|---|
AttachVolumeRequest.Builder |
device(String device) |
The device name to expose to the instance (for example,
/dev/sdh or xvdh). |
AttachVolumeRequest.Builder |
instanceId(String instanceId) |
The ID of the instance.
|
AttachVolumeRequest.Builder |
volumeId(String volumeId) |
The ID of the EBS volume.
|
copyapply, buildAttachVolumeRequest.Builder device(String device)
The device name to expose to the instance (for example, /dev/sdh or xvdh).
device - The device name to expose to the instance (for example, /dev/sdh or xvdh).AttachVolumeRequest.Builder instanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.AttachVolumeRequest.Builder volumeId(String volumeId)
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
volumeId - The ID of the EBS volume. The volume and instance must be within the same Availability Zone.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.