@Stability(value=Stable) public static final class CfnVolumeProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVolumeProps>
CfnVolumeProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVolumeProps |
build()
Builds the configured instance.
|
CfnVolumeProps.Builder |
ec2VolumeId(String ec2VolumeId)
Sets the value of
CfnVolumeProps.getEc2VolumeId() |
CfnVolumeProps.Builder |
mountPoint(String mountPoint)
Sets the value of
CfnVolumeProps.getMountPoint() |
CfnVolumeProps.Builder |
name(String name)
Sets the value of
CfnVolumeProps.getName() |
CfnVolumeProps.Builder |
stackId(String stackId)
Sets the value of
CfnVolumeProps.getStackId() |
@Stability(value=Stable) public CfnVolumeProps.Builder ec2VolumeId(String ec2VolumeId)
CfnVolumeProps.getEc2VolumeId()ec2VolumeId - The Amazon EC2 volume ID. This parameter is required.this@Stability(value=Stable) public CfnVolumeProps.Builder stackId(String stackId)
CfnVolumeProps.getStackId()stackId - The stack ID. This parameter is required.this@Stability(value=Stable) public CfnVolumeProps.Builder mountPoint(String mountPoint)
CfnVolumeProps.getMountPoint()mountPoint - The volume mount point.
For example, "/mnt/disk1".this@Stability(value=Stable) public CfnVolumeProps.Builder name(String name)
CfnVolumeProps.getName()name - The volume name.
Volume names are a maximum of 128 characters.this@Stability(value=Stable) public CfnVolumeProps build()
build in interface software.amazon.jsii.Builder<CfnVolumeProps>CfnVolumePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.