Class VolumeConfiguration
java.lang.Object
com.amazonaws.services.opsworks.model.VolumeConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an Amazon EBS volume configuration.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getIops()
For PIOPS volumes, the IOPS per disk.The volume mount point.The number of disks in the volume.The volume RAID level.getSize()
The volume size.The volume type:int
hashCode()
void
For PIOPS volumes, the IOPS per disk.void
setMountPoint
(String mountPoint) The volume mount point.void
setNumberOfDisks
(Integer numberOfDisks) The number of disks in the volume.void
setRaidLevel
(Integer raidLevel) The volume RAID level.void
The volume size.void
setVolumeType
(String volumeType) The volume type:toString()
Returns a string representation of this object; useful for testing and debugging.For PIOPS volumes, the IOPS per disk.withMountPoint
(String mountPoint) The volume mount point.withNumberOfDisks
(Integer numberOfDisks) The number of disks in the volume.withRaidLevel
(Integer raidLevel) The volume RAID level.The volume size.withVolumeType
(String volumeType) The volume type:
-
Constructor Details
-
VolumeConfiguration
public VolumeConfiguration()
-
-
Method Details
-
setMountPoint
The volume mount point. For example "/dev/sdh".
- Parameters:
mountPoint
- The volume mount point. For example "/dev/sdh".
-
getMountPoint
The volume mount point. For example "/dev/sdh".
- Returns:
- The volume mount point. For example "/dev/sdh".
-
withMountPoint
The volume mount point. For example "/dev/sdh".
- Parameters:
mountPoint
- The volume mount point. For example "/dev/sdh".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRaidLevel
The volume RAID level.
- Parameters:
raidLevel
- The volume RAID level.
-
getRaidLevel
The volume RAID level.
- Returns:
- The volume RAID level.
-
withRaidLevel
The volume RAID level.
- Parameters:
raidLevel
- The volume RAID level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumberOfDisks
The number of disks in the volume.
- Parameters:
numberOfDisks
- The number of disks in the volume.
-
getNumberOfDisks
The number of disks in the volume.
- Returns:
- The number of disks in the volume.
-
withNumberOfDisks
The number of disks in the volume.
- Parameters:
numberOfDisks
- The number of disks in the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSize
The volume size.
- Parameters:
size
- The volume size.
-
getSize
The volume size.
- Returns:
- The volume size.
-
withSize
The volume size.
- Parameters:
size
- The volume size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeType
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Parameters:
volumeType
- The volume type:standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
-
getVolumeType
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Returns:
- The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
-
withVolumeType
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Parameters:
volumeType
- The volume type:standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIops
For PIOPS volumes, the IOPS per disk.
- Parameters:
iops
- For PIOPS volumes, the IOPS per disk.
-
getIops
For PIOPS volumes, the IOPS per disk.
- Returns:
- For PIOPS volumes, the IOPS per disk.
-
withIops
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-