Interface EphemeralEBSVolumeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EphemeralEBSVolumeConfiguration.Builder,,EphemeralEBSVolumeConfiguration> SdkBuilder<EphemeralEBSVolumeConfiguration.Builder,,EphemeralEBSVolumeConfiguration> SdkPojo
- Enclosing class:
EphemeralEBSVolumeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionebsCardIndex(Integer ebsCardIndex) The index of the Amazon EBS card.Specifies whether to encrypt the volume.The number of IOPS to provision.The identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for Amazon EBS encryption.snapshotId(String snapshotId) The ID of the snapshot.throughput(Integer throughput) The throughput to provision, in MiB/s.volumeInitializationRate(Integer volumeInitializationRate) The rate at which the volume is initialized after creation, in MiB/s.volumeSize(Integer volumeSize) The size of the volume, in GiB.volumeType(String volumeType) The Amazon EBS volume type.volumeType(EbsVolumeType volumeType) The Amazon EBS volume type.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
-
volumeType
The Amazon EBS volume type. If you do not specify a type, the default is
gp3.- Parameters:
volumeType- The Amazon EBS volume type. If you do not specify a type, the default isgp3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeType
The Amazon EBS volume type. If you do not specify a type, the default is
gp3.- Parameters:
volumeType- The Amazon EBS volume type. If you do not specify a type, the default isgp3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iops
The number of IOPS to provision. For
gp3,io1, andio2volumes, this is the number of IOPS provisioned for the volume. Forgp2volumes, this sets the baseline IOPS performance. It also controls the rate at which the volume accumulates I/O credits for bursting. Supported values:gp3, 3,000–80,000;io1, 100–64,000;io2, 100–256,000.- Parameters:
iops- The number of IOPS to provision. Forgp3,io1, andio2volumes, this is the number of IOPS provisioned for the volume. Forgp2volumes, this sets the baseline IOPS performance. It also controls the rate at which the volume accumulates I/O credits for bursting. Supported values:gp3, 3,000–80,000;io1, 100–64,000;io2, 100–256,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughput
The throughput to provision, in MiB/s. Valid only for
gp3volumes. Valid range: 125–2,000 MiB/s.- Parameters:
throughput- The throughput to provision, in MiB/s. Valid only forgp3volumes. Valid range: 125–2,000 MiB/s.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
Specifies whether to encrypt the volume. Encrypted volumes can be attached only to instances that support Amazon EBS encryption. If you create a volume from a snapshot, you cannot specify an encryption value.
- Parameters:
encrypted- Specifies whether to encrypt the volume. Encrypted volumes can be attached only to instances that support Amazon EBS encryption. If you create a volume from a snapshot, you cannot specify an encryption value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for Amazon EBS encryption.
- Parameters:
kmsKeyId- The identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for Amazon EBS encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSize
The size of the volume, in GiB. You must specify either a snapshot ID or a volume size. Supported sizes:
gp2, 1–16,384;gp3, 1–65,536;io1, 4–16,384;io2, 4–65,536.- Parameters:
volumeSize- The size of the volume, in GiB. You must specify either a snapshot ID or a volume size. Supported sizes:gp2, 1–16,384;gp3, 1–65,536;io1, 4–16,384;io2, 4–65,536.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeInitializationRate
The rate at which the volume is initialized after creation, in MiB/s. Supported only for volumes created from snapshots. Valid range: 100–300 MiB/s.
- Parameters:
volumeInitializationRate- The rate at which the volume is initialized after creation, in MiB/s. Supported only for volumes created from snapshots. Valid range: 100–300 MiB/s.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsCardIndex
The index of the Amazon EBS card. Applies to instances with multiple Amazon EBS cards.
- Parameters:
ebsCardIndex- The index of the Amazon EBS card. Applies to instances with multiple Amazon EBS cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-