@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon EBS volume configuration.
Constructor and Description |
---|
VolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
VolumeConfiguration |
clone() |
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:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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:
|
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:
|
public void setMountPoint(String mountPoint)
The volume mount point. For example "/dev/sdh".
mountPoint
- The volume mount point. For example "/dev/sdh".public String getMountPoint()
The volume mount point. For example "/dev/sdh".
public VolumeConfiguration withMountPoint(String mountPoint)
The volume mount point. For example "/dev/sdh".
mountPoint
- The volume mount point. For example "/dev/sdh".public void setRaidLevel(Integer raidLevel)
The volume RAID level.
raidLevel
- The volume RAID level.public Integer getRaidLevel()
The volume RAID level.
public VolumeConfiguration withRaidLevel(Integer raidLevel)
The volume RAID level.
raidLevel
- The volume RAID level.public void setNumberOfDisks(Integer numberOfDisks)
The number of disks in the volume.
numberOfDisks
- The number of disks in the volume.public Integer getNumberOfDisks()
The number of disks in the volume.
public VolumeConfiguration withNumberOfDisks(Integer numberOfDisks)
The number of disks in the volume.
numberOfDisks
- The number of disks in the volume.public void setSize(Integer size)
The volume size.
size
- The volume size.public Integer getSize()
The volume size.
public VolumeConfiguration withSize(Integer size)
The volume size.
size
- The volume size.public void setVolumeType(String volumeType)
The volume type:
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
volumeType
- The volume type:
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
public String getVolumeType()
The volume type:
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
public VolumeConfiguration withVolumeType(String volumeType)
The volume type:
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
volumeType
- The volume type:
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
public void setIops(Integer iops)
For PIOPS volumes, the IOPS per disk.
iops
- For PIOPS volumes, the IOPS per disk.public Integer getIops()
For PIOPS volumes, the IOPS per disk.
public VolumeConfiguration withIops(Integer iops)
For PIOPS volumes, the IOPS per disk.
iops
- For PIOPS volumes, the IOPS per disk.public String toString()
toString
in class Object
Object.toString()
public VolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.