@Generated(value="software.amazon.awssdk:codegen") public final class VolumeSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
VolumeSpecification.Builder |
Modifier and Type | Method and Description |
---|---|
static VolumeSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
iops()
The number of I/O operations per second (IOPS) that the volume supports.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VolumeSpecification.Builder> |
serializableBuilderClass() |
Integer |
sizeInGB()
The volume size, in gibibytes (GiB).
|
VolumeSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeType()
The volume type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String volumeType()
The volume type. Volume types supported are gp2, io1, standard.
public Integer iops()
The number of I/O operations per second (IOPS) that the volume supports.
public 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.
public VolumeSpecification.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
public static VolumeSpecification.Builder builder()
public static Class<? extends VolumeSpecification.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.