@Generated(value="software.amazon.awssdk:codegen") public class Volume extends Object implements StructuredPojo, ToCopyableBuilder<Volume.Builder,Volume>
Describes an instance's Amazon EBS volume.
Modifier and Type | Class and Description |
---|---|
static interface |
Volume.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The volume Availability Zone.
|
static Volume.Builder |
builder() |
String |
device()
The device name.
|
String |
ec2VolumeId()
The Amazon EC2 volume ID.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The instance ID.
|
Integer |
iops()
For PIOPS volumes, the IOPS per disk.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
mountPoint()
The volume mount point.
|
String |
name()
The volume name.
|
String |
raidArrayId()
The RAID array ID.
|
String |
region()
The AWS region.
|
static Class<? extends Volume.Builder> |
serializableBuilderClass() |
Integer |
size()
The volume size.
|
String |
status()
The value returned by DescribeVolumes.
|
Volume.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
volumeId()
The volume ID.
|
String |
volumeType()
The volume type, standard or PIOPS.
|
copy
public String volumeId()
The volume ID.
public String ec2VolumeId()
The Amazon EC2 volume ID.
public String name()
The volume name.
public String raidArrayId()
The RAID array ID.
public String instanceId()
The instance ID.
public String status()
The value returned by DescribeVolumes.
public Integer size()
The volume size.
public String device()
The device name.
public String mountPoint()
The volume mount point. For example, "/mnt/disk1".
public String region()
The AWS region. For more information about AWS regions, see Regions and Endpoints.
public String availabilityZone()
The volume Availability Zone. For more information, see Regions and Endpoints.
public String volumeType()
The volume type, standard or PIOPS.
public Integer iops()
For PIOPS volumes, the IOPS per disk.
public Volume.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Volume.Builder,Volume>
public static Volume.Builder builder()
public static Class<? extends Volume.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.