Class CfnVolume.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnVolume.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnVolume>
- Enclosing class:
- CfnVolume
@Stability(Stable)
public static final class CfnVolume.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVolume>
A fluent builder for 
CfnVolume.- 
Method SummaryModifier and TypeMethodDescriptionbuild()static CfnVolume.Builderec2VolumeId(String ec2VolumeId) The Amazon EC2 volume ID.mountPoint(String mountPoint) The volume mount point.The volume name.The stack ID.
- 
Method Details- 
create@Stability(Stable) public static CfnVolume.Builder create(software.constructs.Construct scope, String id) - Parameters:
- scope- Scope in which this resource is defined. This parameter is required.
- id- Construct identifier for this resource (unique in its scope). This parameter is required.
- Returns:
- a new instance of CfnVolume.Builder.
 
- 
ec2VolumeIdThe Amazon EC2 volume ID.- Parameters:
- ec2VolumeId- The Amazon EC2 volume ID. This parameter is required.
- Returns:
- this
- See Also:
 
- 
stackIdThe stack ID.- Parameters:
- stackId- The stack ID. This parameter is required.
- Returns:
- this
- See Also:
 
- 
mountPointThe volume mount point.For example, "/mnt/disk1". - Parameters:
- mountPoint- The volume mount point. This parameter is required.
- Returns:
- this
- See Also:
 
- 
nameThe volume name.Volume names are a maximum of 128 characters. - Parameters:
- name- The volume name. This parameter is required.
- Returns:
- this
- See Also:
 
- 
build
 
-