Class EbsInstanceBlockDeviceSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.EbsInstanceBlockDeviceSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,EbsInstanceBlockDeviceSpecification>
@Generated("software.amazon.awssdk:codegen") public final class EbsInstanceBlockDeviceSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,EbsInstanceBlockDeviceSpecification>
Amazon EBS-specific block device mapping specifications.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEbsInstanceBlockDeviceSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EbsInstanceBlockDeviceSpecification.Builderbuilder()BooleandeleteOnTermination()Use to configure delete on termination of the associated device.Booleanencrypted()Use to configure device encryption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integeriops()Use to configure device IOPS.StringkmsKeyId()Use to configure the KMS key to use when encrypting the device.List<SdkField<?>>sdkFields()static Class<? extends EbsInstanceBlockDeviceSpecification.Builder>serializableBuilderClass()StringsnapshotId()The snapshot that defines the device contents.Integerthroughput()For GP3 volumes only – The throughput in MiB/s that the volume supports.EbsInstanceBlockDeviceSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegervolumeSize()Use to override the device's volume size.EbsVolumeTypevolumeType()Use to override the device's volume type.StringvolumeTypeAsString()Use to override the device's 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
-
encrypted
public final Boolean encrypted()
Use to configure device encryption.
- Returns:
- Use to configure device encryption.
-
deleteOnTermination
public final Boolean deleteOnTermination()
Use to configure delete on termination of the associated device.
- Returns:
- Use to configure delete on termination of the associated device.
-
iops
public final Integer iops()
Use to configure device IOPS.
- Returns:
- Use to configure device IOPS.
-
kmsKeyId
public final String kmsKeyId()
Use to configure the KMS key to use when encrypting the device.
- Returns:
- Use to configure the KMS key to use when encrypting the device.
-
snapshotId
public final String snapshotId()
The snapshot that defines the device contents.
- Returns:
- The snapshot that defines the device contents.
-
volumeSize
public final Integer volumeSize()
Use to override the device's volume size.
- Returns:
- Use to override the device's volume size.
-
volumeType
public final EbsVolumeType volumeType()
Use to override the device's volume type.
If the service returns an enum value that is not available in the current SDK version,
volumeTypewill returnEbsVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeTypeAsString().- Returns:
- Use to override the device's volume type.
- See Also:
EbsVolumeType
-
volumeTypeAsString
public final String volumeTypeAsString()
Use to override the device's volume type.
If the service returns an enum value that is not available in the current SDK version,
volumeTypewill returnEbsVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeTypeAsString().- Returns:
- Use to override the device's volume type.
- See Also:
EbsVolumeType
-
throughput
public final Integer throughput()
For GP3 volumes only – The throughput in MiB/s that the volume supports.
- Returns:
- For GP3 volumes only – The throughput in MiB/s that the volume supports.
-
toBuilder
public EbsInstanceBlockDeviceSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,EbsInstanceBlockDeviceSpecification>
-
builder
public static EbsInstanceBlockDeviceSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends EbsInstanceBlockDeviceSpecification.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.
-
-