Interface EbsInstanceBlockDeviceSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,,EbsInstanceBlockDeviceSpecification> SdkBuilder<EbsInstanceBlockDeviceSpecification.Builder,,EbsInstanceBlockDeviceSpecification> SdkPojo
- Enclosing class:
EbsInstanceBlockDeviceSpecification
@Mutable
@NotThreadSafe
public static interface EbsInstanceBlockDeviceSpecification.Builder
extends SdkPojo, CopyableBuilder<EbsInstanceBlockDeviceSpecification.Builder,EbsInstanceBlockDeviceSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondeleteOnTermination(Boolean deleteOnTermination) Specifies whether to delete the associated device on termination.Specifies whether to encrypt the device.The IOPS value for the device.The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device.snapshotId(String snapshotId) The snapshot that defines the device contents.throughput(Integer throughput) For GP3 volumes only – The throughput in MiB/s that the volume supports.volumeSize(Integer volumeSize) Overrides the volume size for the device.volumeType(String volumeType) Overrides the volume type for the device.volumeType(EbsVolumeType volumeType) Overrides the volume type for the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
encrypted
Specifies whether to encrypt the device.
- Parameters:
encrypted- Specifies whether to encrypt the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteOnTermination
Specifies whether to delete the associated device on termination.
- Parameters:
deleteOnTermination- Specifies whether to delete the associated device on termination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iops
The IOPS value for the device. Required only when volumeType is io1 or io2.
- Parameters:
iops- The IOPS value for the device. Required only when volumeType is io1 or io2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.
- Parameters:
kmsKeyId- The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The snapshot that defines the device contents.
- Parameters:
snapshotId- The snapshot that defines the device contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSize
Overrides the volume size for the device.
- Parameters:
volumeSize- Overrides the volume size for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
Overrides the volume type for the device.
- Parameters:
volumeType- Overrides the volume type for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeType
Overrides the volume type for the device.
- Parameters:
volumeType- Overrides the volume type for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
throughput
For GP3 volumes only – The throughput in MiB/s that the volume supports.
- Parameters:
throughput- For GP3 volumes only – The throughput in MiB/s that the volume supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-