@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()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
String | 
volumeType()
 The volume type. 
 | 
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>public static VolumeSpecification.Builder builder()
public static Class<? extends VolumeSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.