@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, size (GiB) and throughput (MiB/s) that are 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) |
boolean |
equalsBySdkFields(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).
|
Integer |
throughput()
The throughput, in mebibyte per second (MiB/s).
|
VolumeSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeType()
The volume type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String volumeType()
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
public final Integer iops()
The number of I/O operations per second (IOPS) that the volume supports.
public final 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 final 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.
public VolumeSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>public static VolumeSpecification.Builder builder()
public static Class<? extends VolumeSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.