Class AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder,AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder,AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails>
Parameters for a block device for an Amazon Elastic Block Store (Amazon EBS) volume in an Amazon EC2 launch template.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builderbuilder()BooleandeleteOnTermination()Indicates whether the EBS volume is deleted on instance termination.Booleanencrypted()Indicates whether the EBS volume is encrypted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integeriops()The number of I/O operations per second (IOPS).StringkmsKeyId()The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder>serializableBuilderClass()StringsnapshotId()The ID of the EBS snapshot.Integerthroughput()The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegervolumeSize()The size of the volume, in GiBs.StringvolumeType()The volume type.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deleteOnTermination
public final Boolean deleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
- Returns:
- Indicates whether the EBS volume is deleted on instance termination.
-
encrypted
public final Boolean encrypted()
Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you're creating a volume from a snapshot, you can't specify an encryption value.
- Returns:
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you're creating a volume from a snapshot, you can't specify an encryption value.
-
iops
public final Integer iops()
The number of I/O operations per second (IOPS).
- Returns:
- The number of I/O operations per second (IOPS).
-
kmsKeyId
public final String kmsKeyId()
The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.
- Returns:
- The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.
-
snapshotId
public final String snapshotId()
The ID of the EBS snapshot.
- Returns:
- The ID of the EBS snapshot.
-
throughput
public final Integer throughput()
The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
- Returns:
- The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
-
volumeSize
public final Integer volumeSize()
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
- Returns:
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
-
volumeType
public final String volumeType()
The volume type.
- Returns:
- The volume type.
-
toBuilder
public AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder toBuilder()
-
builder
public static AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-