@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, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon 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).
|
Integer |
getThroughput()
The throughput, in mebibyte per second (MiB/s).
|
String |
getVolumeType()
The volume type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 |
setThroughput(Integer throughput)
The throughput, in mebibyte per second (MiB/s).
|
void |
setVolumeType(String volumeType)
The volume type.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withThroughput(Integer throughput)
The throughput, in mebibyte per second (MiB/s).
|
VolumeSpecification |
withVolumeType(String volumeType)
The volume type.
|
public void setVolumeType(String volumeType)
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
volumeType
- The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.public String getVolumeType()
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
public VolumeSpecification withVolumeType(String volumeType)
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
volumeType
- The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and 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 void setThroughput(Integer throughput)
The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
throughput
- The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000
and is valid only for gp3 volumes.public Integer getThroughput()
The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
public VolumeSpecification withThroughput(Integer throughput)
The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
throughput
- The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000
and is valid only for gp3 volumes.public String toString()
toString
in class Object
Object.toString()
public VolumeSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.