Class CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesinstances.CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty>
- Enclosing interface:
CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty
@Stability(Stable)
public static final class CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceName(String deviceName) Sets the value ofCfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.getEbs()ebs(IResolvable ebs) Sets the value ofCfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.getEbs()Sets the value ofCfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.getNoDevice()virtualName(String virtualName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceName
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder deviceName(String deviceName) - Parameters:
deviceName- the value to be set.- Returns:
this
-
ebs
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder ebs(IResolvable ebs) Sets the value ofCfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.getEbs()- Parameters:
ebs- the value to be set.- Returns:
this
-
ebs
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder ebs(CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty ebs) Sets the value ofCfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.getEbs()- Parameters:
ebs- the value to be set.- Returns:
this
-
noDevice
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder noDevice(String noDevice) Sets the value ofCfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.getNoDevice()- Parameters:
noDevice- the value to be set.- Returns:
this
-
virtualName
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty.Builder virtualName(String virtualName) - Parameters:
virtualName- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty>- Returns:
- a new instance of
CfnWorkspaceInstancePropsMixin.BlockDeviceMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-