Class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails>
Parameters that are used to automatically set up EBS volumes when an instance is launched.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleanWhether to delete the volume when the instance is terminated.final BooleanWhether to encrypt the volume.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integeriops()The number of input/output (I/O) operations per second (IOPS) to provision for the volume.static Class<? extends AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder> final StringThe snapshot ID of the volume to use.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe volume size, in GiBs.final StringThe volume type.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deleteOnTermination
Whether to delete the volume when the instance is terminated.
- Returns:
- Whether to delete the volume when the instance is terminated.
-
encrypted
Whether to encrypt the volume.
- Returns:
- Whether to encrypt the volume.
-
iops
The number of input/output (I/O) operations per second (IOPS) to provision for the volume.
Only supported for
gp3orio1volumes. Required forio1volumes. Not used withstandard,gp2,st1, orsc1volumes.- Returns:
- The number of input/output (I/O) operations per second (IOPS) to provision for the volume.
Only supported for
gp3orio1volumes. Required forio1volumes. Not used withstandard,gp2,st1, orsc1volumes.
-
snapshotId
The snapshot ID of the volume to use.
You must specify either
VolumeSizeorSnapshotId.- Returns:
- The snapshot ID of the volume to use.
You must specify either
VolumeSizeorSnapshotId.
-
volumeSize
The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
-
gp2 and gp3: 1-16,384
-
io1: 4-16,384
-
st1 and sc1: 125-16,384
-
standard: 1-1,024
You must specify either
SnapshotIdorVolumeSize. If you specify bothSnapshotIdandVolumeSize, the volume size must be equal or greater than the size of the snapshot.- Returns:
- The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
-
gp2 and gp3: 1-16,384
-
io1: 4-16,384
-
st1 and sc1: 125-16,384
-
standard: 1-1,024
You must specify either
SnapshotIdorVolumeSize. If you specify bothSnapshotIdandVolumeSize, the volume size must be equal or greater than the size of the snapshot. -
-
-
volumeType
The volume type. Valid values are as follows:
-
gp2 -
gp3 -
io1 -
sc1 -
st1 -
standard
- Returns:
- The volume type. Valid values are as follows:
-
gp2 -
gp3 -
io1 -
sc1 -
st1 -
standard
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-