Example usage for Java com.amazonaws.services.ec2.model CreateVolumeRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
CreateVolumeRequest() Default constructor for CreateVolumeRequest object. | |
CreateVolumeRequest(Integer size, String availabilityZone) Constructs a new CreateVolumeRequest object. | |
CreateVolumeRequest(String snapshotId, String availabilityZone) Constructs a new CreateVolumeRequest object. |
String | getAvailabilityZone() The Availability Zone in which to create the volume. |
Integer | getSize() The size of the volume, in GiBs. |
String | getSnapshotId() The snapshot from which to create the volume. |
void | setAvailabilityZone(String availabilityZone) The Availability Zone in which to create the volume. |
void | setSize(Integer size) The size of the volume, in GiBs. |
void | setSnapshotId(String snapshotId) The snapshot from which to create the volume. |
CreateVolumeRequest | withAvailabilityZone(String availabilityZone) The Availability Zone in which to create the volume. |
CreateVolumeRequest | withSize(Integer size) The size of the volume, in GiBs. |
CreateVolumeRequest | withSnapshotId(String snapshotId) The snapshot from which to create the volume. |
CreateVolumeRequest | withVolumeType(String volumeType) The volume type. |
CreateVolumeRequest | withVolumeType(VolumeType volumeType) The volume type. |