Class VolumeSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.VolumeSpecification
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
@Generated("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 Amazon EC2 instance in the cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VolumeSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
volumeType
public final String volumeType()
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
- Returns:
- The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
-
iops
public final Integer iops()
The number of I/O operations per second (IOPS) that the volume supports.
- Returns:
- The number of I/O operations per second (IOPS) that the volume supports.
-
sizeInGB
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.
- Returns:
- 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.
-
throughput
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.
- Returns:
- 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.
-
toBuilder
public VolumeSpecification.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
-
builder
public static VolumeSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends VolumeSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-