@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2EbsVolume extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the EBS volume.
| Constructor and Description |
|---|
Ec2EbsVolume() |
| Modifier and Type | Method and Description |
|---|---|
Ec2EbsVolume |
clone() |
boolean |
equals(Object obj) |
Integer |
getIops()
The IOPS per volume.
|
Integer |
getSizeGiB()
The EBS volume size in GiB.
|
Integer |
getThroughputMiB()
The throughput per volume in MiB.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIops(Integer iops)
The IOPS per volume.
|
void |
setSizeGiB(Integer sizeGiB)
The EBS volume size in GiB.
|
void |
setThroughputMiB(Integer throughputMiB)
The throughput per volume in MiB.
|
String |
toString()
Returns a string representation of this object.
|
Ec2EbsVolume |
withIops(Integer iops)
The IOPS per volume.
|
Ec2EbsVolume |
withSizeGiB(Integer sizeGiB)
The EBS volume size in GiB.
|
Ec2EbsVolume |
withThroughputMiB(Integer throughputMiB)
The throughput per volume in MiB.
|
public void setIops(Integer iops)
The IOPS per volume.
iops - The IOPS per volume.public Integer getIops()
The IOPS per volume.
public Ec2EbsVolume withIops(Integer iops)
The IOPS per volume.
iops - The IOPS per volume.public void setSizeGiB(Integer sizeGiB)
The EBS volume size in GiB.
sizeGiB - The EBS volume size in GiB.public Integer getSizeGiB()
The EBS volume size in GiB.
public Ec2EbsVolume withSizeGiB(Integer sizeGiB)
The EBS volume size in GiB.
sizeGiB - The EBS volume size in GiB.public void setThroughputMiB(Integer throughputMiB)
The throughput per volume in MiB.
throughputMiB - The throughput per volume in MiB.public Integer getThroughputMiB()
The throughput per volume in MiB.
public Ec2EbsVolume withThroughputMiB(Integer throughputMiB)
The throughput per volume in MiB.
throughputMiB - The throughput per volume in MiB.public String toString()
toString in class ObjectObject.toString()public Ec2EbsVolume clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.