StructuredPojo, ToCopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>@Generated("software.amazon.awssdk:codegen") public class EbsBlockDevice extends Object implements StructuredPojo, ToCopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>
Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice data type.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
EbsBlockDevice.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static EbsBlockDevice.Builder |
builder() |
|
Boolean |
deleteOnTermination() |
Whether the volume is deleted on instance termination.
|
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 EbsBlockDevice.Builder> |
serializableBuilderClass() |
|
String |
snapshotId() |
The snapshot ID.
|
EbsBlockDevice.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Integer |
volumeSize() |
The volume size, in GiB.
|
String |
volumeType() |
The volume type.
|
public String snapshotId()
The snapshot ID.
public Integer iops()
The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
public Integer volumeSize()
The volume size, in GiB. For more information, see EbsBlockDevice.
public String volumeType()
The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD)
volumes, and standard for Magnetic volumes.
gp2 for General Purpose (SSD) volumes, io1 for Provisioned
IOPS (SSD) volumes, and standard for Magnetic volumes.VolumeTypepublic Boolean deleteOnTermination()
Whether the volume is deleted on instance termination.
public EbsBlockDevice.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>public static EbsBlockDevice.Builder builder()
public static Class<? extends EbsBlockDevice.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.