public static interface Volume.Builder extends SdkPojo, CopyableBuilder<Volume.Builder,Volume>
Modifier and Type | Method and Description |
---|---|
Volume.Builder |
availabilityZone(String availabilityZone)
The volume Availability Zone.
|
Volume.Builder |
device(String device)
The device name.
|
Volume.Builder |
ec2VolumeId(String ec2VolumeId)
The Amazon EC2 volume ID.
|
Volume.Builder |
encrypted(Boolean encrypted)
Specifies whether an Amazon EBS volume is encrypted.
|
Volume.Builder |
instanceId(String instanceId)
The instance ID.
|
Volume.Builder |
iops(Integer iops)
For PIOPS volumes, the IOPS per disk.
|
Volume.Builder |
mountPoint(String mountPoint)
The volume mount point.
|
Volume.Builder |
name(String name)
The volume name.
|
Volume.Builder |
raidArrayId(String raidArrayId)
The RAID array ID.
|
Volume.Builder |
region(String region)
The AWS region.
|
Volume.Builder |
size(Integer size)
The volume size.
|
Volume.Builder |
status(String status)
The value returned by DescribeVolumes.
|
Volume.Builder |
volumeId(String volumeId)
The volume ID.
|
Volume.Builder |
volumeType(String volumeType)
The volume type.
|
copy
applyMutation, build
Volume.Builder volumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.Volume.Builder ec2VolumeId(String ec2VolumeId)
The Amazon EC2 volume ID.
ec2VolumeId
- The Amazon EC2 volume ID.Volume.Builder name(String name)
The volume name.
name
- The volume name.Volume.Builder raidArrayId(String raidArrayId)
The RAID array ID.
raidArrayId
- The RAID array ID.Volume.Builder instanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.Volume.Builder status(String status)
The value returned by DescribeVolumes.
status
- The value returned by DescribeVolumes.Volume.Builder size(Integer size)
The volume size.
size
- The volume size.Volume.Builder device(String device)
The device name.
device
- The device name.Volume.Builder mountPoint(String mountPoint)
The volume mount point. For example, "/mnt/disk1".
mountPoint
- The volume mount point. For example, "/mnt/disk1".Volume.Builder region(String region)
The AWS region. For more information about AWS regions, see Regions and Endpoints.
region
- The AWS region. For more information about AWS regions, see Regions and Endpoints.Volume.Builder availabilityZone(String availabilityZone)
The volume Availability Zone. For more information, see Regions and Endpoints.
availabilityZone
- The volume Availability Zone. For more information, see Regions and Endpoints.Volume.Builder volumeType(String volumeType)
The volume type. For more information, see Amazon EBS Volume Types.
standard
- Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of
1024 GiB.
io1
- Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size
of 16384 GiB.
gp2
- General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a
maximum size of 16384 GiB.
st1
- Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a
minimum size of 500 GiB and a maximum size of 16384 GiB.
sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384
GiB.
volumeType
- The volume type. For more information, see Amazon EBS Volume
Types.
standard
- Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum
size of 1024 GiB.
io1
- Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a
maximum size of 16384 GiB.
gp2
- General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB
and a maximum size of 16384 GiB.
st1
- Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must
have a minimum size of 500 GiB and a maximum size of 16384 GiB.
sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size
of 16384 GiB.
Volume.Builder iops(Integer iops)
For PIOPS volumes, the IOPS per disk.
iops
- For PIOPS volumes, the IOPS per disk.Volume.Builder encrypted(Boolean encrypted)
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
encrypted
- Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS
Encryption.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.