@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeSpecification extends Object implements Serializable, Cloneable, StructuredPojo
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
Constructor and Description |
---|
VolumeSpecification() |
Modifier and Type | Method and Description |
---|---|
VolumeSpecification |
clone() |
boolean |
equals(Object obj) |
Integer |
getIops()
The number of I/O operations per second (IOPS) that the volume supports.
|
Integer |
getSizeInGB()
The volume size, in gibibytes (GiB).
|
String |
getVolumeType()
The volume type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.
|
void |
setSizeInGB(Integer sizeInGB)
The volume size, in gibibytes (GiB).
|
void |
setVolumeType(String volumeType)
The volume type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VolumeSpecification |
withIops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.
|
VolumeSpecification |
withSizeInGB(Integer sizeInGB)
The volume size, in gibibytes (GiB).
|
VolumeSpecification |
withVolumeType(String volumeType)
The volume type.
|
public void setVolumeType(String volumeType)
The volume type. Volume types supported are gp2, io1, standard.
volumeType
- The volume type. Volume types supported are gp2, io1, standard.public String getVolumeType()
The volume type. Volume types supported are gp2, io1, standard.
public VolumeSpecification withVolumeType(String volumeType)
The volume type. Volume types supported are gp2, io1, standard.
volumeType
- The volume type. Volume types supported are gp2, io1, standard.public void setIops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.
iops
- The number of I/O operations per second (IOPS) that the volume supports.public Integer getIops()
The number of I/O operations per second (IOPS) that the volume supports.
public VolumeSpecification withIops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.
iops
- The number of I/O operations per second (IOPS) that the volume supports.public void setSizeInGB(Integer sizeInGB)
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
sizeInGB
- The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is
EBS-optimized, the minimum value is 10.public Integer getSizeInGB()
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
public VolumeSpecification withSizeInGB(Integer sizeInGB)
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
sizeInGB
- The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is
EBS-optimized, the minimum value is 10.public String toString()
toString
in class Object
Object.toString()
public VolumeSpecification 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.