Class CfnVolumeAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesinstances.CfnVolumeAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVolumeAssociationPropsMixin>
- Enclosing class:
CfnVolumeAssociationPropsMixin
@Stability(Stable)
public static final class CfnVolumeAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVolumeAssociationPropsMixin>
A fluent builder for
CfnVolumeAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The device name for the volume attachment.disassociateMode(String disassociateMode) Mode to use when disassociating the volume.ID of the volume to attach to the workspace instance.workspaceInstanceId(String workspaceInstanceId) ID of the workspace instance to associate with the volume.
-
Method Details
-
create
@Stability(Stable) public static CfnVolumeAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVolumeAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVolumeAssociationPropsMixin.Builder.
-
device
The device name for the volume attachment.- Parameters:
device- The device name for the volume attachment. This parameter is required.- Returns:
this- See Also:
-
disassociateMode
@Stability(Stable) public CfnVolumeAssociationPropsMixin.Builder disassociateMode(String disassociateMode) Mode to use when disassociating the volume.- Parameters:
disassociateMode- Mode to use when disassociating the volume. This parameter is required.- Returns:
this- See Also:
-
volumeId
ID of the volume to attach to the workspace instance.- Parameters:
volumeId- ID of the volume to attach to the workspace instance. This parameter is required.- Returns:
this- See Also:
-
workspaceInstanceId
@Stability(Stable) public CfnVolumeAssociationPropsMixin.Builder workspaceInstanceId(String workspaceInstanceId) ID of the workspace instance to associate with the volume.- Parameters:
workspaceInstanceId- ID of the workspace instance to associate with the volume. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVolumeAssociationPropsMixin>- Returns:
- a newly built instance of
CfnVolumeAssociationPropsMixin.
-