@Stability(value=Stable) public static final class VolumeAttributes.Builder extends Object implements software.amazon.jsii.Builder<VolumeAttributes>
VolumeAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeAttributes.Builder |
availabilityZone(String availabilityZone)
Sets the value of
VolumeAttributes.getAvailabilityZone() |
VolumeAttributes |
build()
Builds the configured instance.
|
VolumeAttributes.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
VolumeAttributes.getEncryptionKey() |
VolumeAttributes.Builder |
volumeId(String volumeId)
Sets the value of
VolumeAttributes.getVolumeId() |
@Stability(value=Stable) public VolumeAttributes.Builder availabilityZone(String availabilityZone)
VolumeAttributes.getAvailabilityZone()
availabilityZone
- The availability zone that the EBS Volume is contained within (ex: us-west-2a). This parameter is required.this
@Stability(value=Stable) public VolumeAttributes.Builder volumeId(String volumeId)
VolumeAttributes.getVolumeId()
volumeId
- The EBS Volume's ID. This parameter is required.this
@Stability(value=Stable) public VolumeAttributes.Builder encryptionKey(IKey encryptionKey)
VolumeAttributes.getEncryptionKey()
encryptionKey
- The customer-managed encryption key that is used to encrypt the Volume.this
@Stability(value=Stable) public VolumeAttributes build()
build
in interface software.amazon.jsii.Builder<VolumeAttributes>
VolumeAttributes
NullPointerException
- if any required attribute was not providedCopyright © 2020. All rights reserved.