public class VolumeConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an Amazon EBS volume configuration.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
iops
For PIOPS volumes, the IOPS per disk.
|
private java.lang.String |
mountPoint
The volume mount point.
|
private java.lang.Integer |
numberOfDisks
The number of disks in the volume.
|
private java.lang.Integer |
raidLevel
The volume RAID level.
|
private java.lang.Integer |
size
The volume size.
|
private java.lang.String |
volumeType
The volume type:
|
Constructor and Description |
---|
VolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
VolumeConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getIops()
For PIOPS volumes, the IOPS per disk.
|
java.lang.String |
getMountPoint()
The volume mount point.
|
java.lang.Integer |
getNumberOfDisks()
The number of disks in the volume.
|
java.lang.Integer |
getRaidLevel()
The volume RAID level.
|
java.lang.Integer |
getSize()
The volume size.
|
java.lang.String |
getVolumeType()
The volume type:
|
int |
hashCode() |
void |
setIops(java.lang.Integer iops)
For PIOPS volumes, the IOPS per disk.
|
void |
setMountPoint(java.lang.String mountPoint)
The volume mount point.
|
void |
setNumberOfDisks(java.lang.Integer numberOfDisks)
The number of disks in the volume.
|
void |
setRaidLevel(java.lang.Integer raidLevel)
The volume RAID level.
|
void |
setSize(java.lang.Integer size)
The volume size.
|
void |
setVolumeType(java.lang.String volumeType)
The volume type:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeConfiguration |
withIops(java.lang.Integer iops)
For PIOPS volumes, the IOPS per disk.
|
VolumeConfiguration |
withMountPoint(java.lang.String mountPoint)
The volume mount point.
|
VolumeConfiguration |
withNumberOfDisks(java.lang.Integer numberOfDisks)
The number of disks in the volume.
|
VolumeConfiguration |
withRaidLevel(java.lang.Integer raidLevel)
The volume RAID level.
|
VolumeConfiguration |
withSize(java.lang.Integer size)
The volume size.
|
VolumeConfiguration |
withVolumeType(java.lang.String volumeType)
The volume type:
|
private java.lang.String mountPoint
The volume mount point. For example "/dev/sdh".
private java.lang.Integer raidLevel
The volume RAID level.
private java.lang.Integer numberOfDisks
The number of disks in the volume.
private java.lang.Integer size
The volume size.
private java.lang.String volumeType
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)private java.lang.Integer iops
For PIOPS volumes, the IOPS per disk.
public void setMountPoint(java.lang.String mountPoint)
The volume mount point. For example "/dev/sdh".
mountPoint
- The volume mount point. For example "/dev/sdh".public java.lang.String getMountPoint()
The volume mount point. For example "/dev/sdh".
public VolumeConfiguration withMountPoint(java.lang.String mountPoint)
The volume mount point. For example "/dev/sdh".
mountPoint
- The volume mount point. For example "/dev/sdh".public void setRaidLevel(java.lang.Integer raidLevel)
The volume RAID level.
raidLevel
- The volume RAID
level.public java.lang.Integer getRaidLevel()
The volume RAID level.
public VolumeConfiguration withRaidLevel(java.lang.Integer raidLevel)
The volume RAID level.
raidLevel
- The volume RAID
level.public void setNumberOfDisks(java.lang.Integer numberOfDisks)
The number of disks in the volume.
numberOfDisks
- The number of disks in the volume.public java.lang.Integer getNumberOfDisks()
The number of disks in the volume.
public VolumeConfiguration withNumberOfDisks(java.lang.Integer numberOfDisks)
The number of disks in the volume.
numberOfDisks
- The number of disks in the volume.public void setSize(java.lang.Integer size)
The volume size.
size
- The volume size.public java.lang.Integer getSize()
The volume size.
public VolumeConfiguration withSize(java.lang.Integer size)
The volume size.
size
- The volume size.public void setVolumeType(java.lang.String volumeType)
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)volumeType
- The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)public java.lang.String getVolumeType()
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)public VolumeConfiguration withVolumeType(java.lang.String volumeType)
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)volumeType
- The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)public void setIops(java.lang.Integer iops)
For PIOPS volumes, the IOPS per disk.
iops
- For PIOPS volumes, the IOPS per disk.public java.lang.Integer getIops()
For PIOPS volumes, the IOPS per disk.
public VolumeConfiguration withIops(java.lang.Integer iops)
For PIOPS volumes, the IOPS per disk.
iops
- For PIOPS volumes, the IOPS per disk.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VolumeConfiguration clone()
clone
in class java.lang.Object