Class CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesinstances.CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty>
- Enclosing interface:
CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty
@Stability(Stable)
public static final class CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty>
A builder for
CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getEncrypted()encrypted(IResolvable encrypted) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getEncrypted()Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getIops()Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getKmsKeyId()throughput(Number throughput) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getThroughput()volumeSize(Number volumeSize) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getVolumeSize()volumeType(String volumeType) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getVolumeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encrypted
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder encrypted(Boolean encrypted) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getEncrypted()- Parameters:
encrypted- the value to be set.- Returns:
this
-
encrypted
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder encrypted(IResolvable encrypted) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getEncrypted()- Parameters:
encrypted- the value to be set.- Returns:
this
-
iops
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder iops(Number iops) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getIops()- Parameters:
iops- the value to be set.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getKmsKeyId()- Parameters:
kmsKeyId- the value to be set.- Returns:
this
-
throughput
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder throughput(Number throughput) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getThroughput()- Parameters:
throughput- the value to be set.- Returns:
this
-
volumeSize
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder volumeSize(Number volumeSize) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getVolumeSize()- Parameters:
volumeSize- the value to be set.- Returns:
this
-
volumeType
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.Builder volumeType(String volumeType) Sets the value ofCfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty.getVolumeType()- Parameters:
volumeType- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty>- Returns:
- a new instance of
CfnWorkspaceInstancePropsMixin.EbsBlockDeviceProperty - Throws:
NullPointerException- if any required attribute was not provided
-