@Generated(value="software.amazon.awssdk:codegen") public final class VolumeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeConfiguration.Builder,VolumeConfiguration>
Describes an Amazon EBS volume configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
VolumeConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static VolumeConfiguration.Builder |
builder() |
Boolean |
encrypted()
Specifies whether an Amazon EBS volume is encrypted.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
iops()
For PIOPS volumes, the IOPS per disk.
|
String |
mountPoint()
The volume mount point.
|
Integer |
numberOfDisks()
The number of disks in the volume.
|
Integer |
raidLevel()
The volume RAID level.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VolumeConfiguration.Builder> |
serializableBuilderClass() |
Integer |
size()
The volume size.
|
VolumeConfiguration.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.
|
copy
public String mountPoint()
The volume mount point. For example "/dev/sdh".
public Integer raidLevel()
The volume RAID level.
public Integer numberOfDisks()
The number of disks in the volume.
public Integer size()
The volume size.
public String volumeType()
The volume type. For more information, see Amazon EBS Volume Types.
standard
- Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024
GiB.
io1
- Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of
16384 GiB.
gp2
- General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum
size of 16384 GiB.
st1
- Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a
minimum size of 500 GiB and a maximum size of 16384 GiB.
sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384
GiB.
standard
- Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size
of 1024 GiB.
io1
- Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum
size of 16384 GiB.
gp2
- General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a
maximum size of 16384 GiB.
st1
- Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have
a minimum size of 500 GiB and a maximum size of 16384 GiB.
sc1
- Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of
16384 GiB.
public Integer iops()
For PIOPS volumes, the IOPS per disk.
public Boolean encrypted()
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
public VolumeConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VolumeConfiguration.Builder,VolumeConfiguration>
public static VolumeConfiguration.Builder builder()
public static Class<? extends VolumeConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.