StructuredPojo
, ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
@Generated("software.amazon.awssdk:codegen") public class VolumeSpecification extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
VolumeSpecification.Builder |
Modifier and Type | Method | Description |
---|---|---|
static VolumeSpecification.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
iops() |
The number of I/O operations per second (IOPS) that the volume supports.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
public static VolumeSpecification.Builder builder()
public static Class<? extends VolumeSpecification.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.