@Stability(value=Stable) public static final class CfnInstance.VolumeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.VolumeProperty>
CfnInstance.VolumeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstance.VolumeProperty |
build()
Builds the configured instance.
|
CfnInstance.VolumeProperty.Builder |
device(String device)
Sets the value of
CfnInstance.VolumeProperty.getDevice() |
CfnInstance.VolumeProperty.Builder |
volumeId(String volumeId)
Sets the value of
CfnInstance.VolumeProperty.getVolumeId() |
@Stability(value=Stable) public CfnInstance.VolumeProperty.Builder device(String device)
CfnInstance.VolumeProperty.getDevice()device - The device name (for example, `/dev/sdh` or `xvdh` ). This parameter is required.this@Stability(value=Stable) public CfnInstance.VolumeProperty.Builder volumeId(String volumeId)
CfnInstance.VolumeProperty.getVolumeId()volumeId - The ID of the EBS volume. This parameter is required.
The volume and instance must be within the same Availability Zone.this@Stability(value=Stable) public CfnInstance.VolumeProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.VolumeProperty>CfnInstance.VolumePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.