@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) |
Boolean |
getEncrypted()
Specifies whether an Amazon EBS volume is encrypted.
|
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() |
Boolean |
isEncrypted()
Specifies whether an Amazon EBS volume is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncrypted(Boolean encrypted)
Specifies whether an Amazon EBS volume is encrypted.
|
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 |
withEncrypted(Boolean encrypted)
Specifies whether an Amazon EBS volume is encrypted.
|
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. For more information, see Amazon EBS Volume Types.
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
st1
- Throughput Optimized hard disk drive (HDD)
sc1
- Cold HDD
volumeType
- The volume type. For more information, see Amazon EBS Volume
Types.
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
st1
- Throughput Optimized hard disk drive (HDD)
sc1
- Cold HDD
public String getVolumeType()
The volume type. For more information, see Amazon EBS Volume Types.
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
st1
- Throughput Optimized hard disk drive (HDD)
sc1
- Cold HDD
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
st1
- Throughput Optimized hard disk drive (HDD)
sc1
- Cold HDD
public VolumeConfiguration withVolumeType(String volumeType)
The volume type. For more information, see Amazon EBS Volume Types.
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
st1
- Throughput Optimized hard disk drive (HDD)
sc1
- Cold HDD
volumeType
- The volume type. For more information, see Amazon EBS Volume
Types.
standard
- Magnetic
io1
- Provisioned IOPS (SSD)
gp2
- General Purpose (SSD)
st1
- Throughput Optimized hard disk drive (HDD)
sc1
- Cold HDD
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 void setEncrypted(Boolean encrypted)
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
encrypted
- Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.public Boolean getEncrypted()
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
public VolumeConfiguration withEncrypted(Boolean encrypted)
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
encrypted
- Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.public Boolean isEncrypted()
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
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.