Interface Volume.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Volume.Builder,
,Volume> SdkBuilder<Volume.Builder,
,Volume> SdkPojo
- Enclosing class:
Volume
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The volume Availability Zone.The device name.ec2VolumeId
(String ec2VolumeId) The Amazon EC2 volume ID.Specifies whether an Amazon EBS volume is encrypted.instanceId
(String instanceId) The instance ID.For PIOPS volumes, the IOPS per disk.mountPoint
(String mountPoint) The volume mount point.The volume name.raidArrayId
(String raidArrayId) The RAID array ID.The Amazon Web Services Region.The volume size.The value returned by DescribeVolumes.The volume ID.volumeType
(String volumeType) The volume type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
volumeId
The volume ID.
- Parameters:
volumeId
- The volume ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2VolumeId
The Amazon EC2 volume ID.
- Parameters:
ec2VolumeId
- The Amazon EC2 volume ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The volume name. Volume names are a maximum of 128 characters.
- Parameters:
name
- The volume name. Volume names are a maximum of 128 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
raidArrayId
The RAID array ID.
- Parameters:
raidArrayId
- The RAID array ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The value returned by DescribeVolumes.
- Parameters:
status
- The value returned by DescribeVolumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
The volume size.
- Parameters:
size
- The volume size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
The device name.
- Parameters:
device
- The device name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountPoint
The volume mount point. For example, "/mnt/disk1".
- Parameters:
mountPoint
- The volume mount point. For example, "/mnt/disk1".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region. For more information about Amazon Web Services Regions, see Regions and Endpoints.
- Parameters:
region
- The Amazon Web Services Region. For more information about Amazon Web Services Regions, see Regions and Endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The volume Availability Zone. For more information, see Regions and Endpoints.
- Parameters:
availabilityZone
- The volume Availability Zone. For more information, see Regions and Endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 125 GiB and a maximum size of 16384 GiB. -
sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 125 GiB and a maximum size of 16384 GiB.
- Parameters:
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 125 GiB and a maximum size of 16384 GiB. -
sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 125 GiB and a maximum size of 16384 GiB.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
iops
For PIOPS volumes, the IOPS per disk.
- Parameters:
iops
- For PIOPS volumes, the IOPS per disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
- Parameters:
encrypted
- Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-