public class VolumeConfiguration extends Object implements Serializable
Describes an Amazon EBS volume configuration.
Constructor and Description |
---|
VolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getIops()
For PIOPS volumes, the IOPS per disk.
|
String |
getMountPoint()
The volume mount point.
|
Integer |
getNumberOfDisks()
The number of disks in the volume.
|
Integer |
getRaidLevel()
The volume RAID
level.
|
Integer |
getSize()
The volume size.
|
String |
getVolumeType()
The volume type, standard or PIOPS.
|
int |
hashCode() |
void |
setIops(Integer iops)
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 |
setSize(Integer size)
The volume size.
|
void |
setVolumeType(String volumeType)
The volume type, standard or PIOPS.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeConfiguration |
withIops(Integer iops)
For PIOPS volumes, the IOPS per disk.
|
VolumeConfiguration |
withMountPoint(String mountPoint)
The volume mount point.
|
VolumeConfiguration |
withNumberOfDisks(Integer numberOfDisks)
The number of disks in the volume.
|
VolumeConfiguration |
withRaidLevel(Integer raidLevel)
The volume RAID
level.
|
VolumeConfiguration |
withSize(Integer size)
The volume size.
|
VolumeConfiguration |
withVolumeType(String volumeType)
The volume type, standard or PIOPS.
|
public String getMountPoint()
public void setMountPoint(String mountPoint)
mountPoint
- The volume mount point. For example "/dev/sdh".public VolumeConfiguration withMountPoint(String mountPoint)
Returns a reference to this object so that method calls can be chained together.
mountPoint
- The volume mount point. For example "/dev/sdh".public Integer getRaidLevel()
public void setRaidLevel(Integer raidLevel)
raidLevel
- The volume RAID
level.public VolumeConfiguration withRaidLevel(Integer raidLevel)
Returns a reference to this object so that method calls can be chained together.
raidLevel
- The volume RAID
level.public Integer getNumberOfDisks()
public void setNumberOfDisks(Integer numberOfDisks)
numberOfDisks
- The number of disks in the volume.public VolumeConfiguration withNumberOfDisks(Integer numberOfDisks)
Returns a reference to this object so that method calls can be chained together.
numberOfDisks
- The number of disks in the volume.public Integer getSize()
public void setSize(Integer size)
size
- The volume size.public VolumeConfiguration withSize(Integer size)
Returns a reference to this object so that method calls can be chained together.
size
- The volume size.public String getVolumeType()
public void setVolumeType(String volumeType)
volumeType
- The volume type, standard or PIOPS.public VolumeConfiguration withVolumeType(String volumeType)
Returns a reference to this object so that method calls can be chained together.
volumeType
- The volume type, standard or PIOPS.public Integer getIops()
public void setIops(Integer iops)
iops
- For PIOPS volumes, the IOPS per disk.public VolumeConfiguration withIops(Integer iops)
Returns a reference to this object so that method calls can be chained together.
iops
- For PIOPS volumes, the IOPS per disk.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.