Class CfnWorkspaceInstanceProps.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesinstances.CfnWorkspaceInstanceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceInstanceProps>
- Enclosing interface:
CfnWorkspaceInstanceProps
@Stability(Stable)
public static final class CfnWorkspaceInstanceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceInstanceProps>
A builder for
CfnWorkspaceInstanceProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.managedInstance
(IResolvable managedInstance) Sets the value ofCfnWorkspaceInstanceProps.getManagedInstance()
managedInstance
(CfnWorkspaceInstance.ManagedInstanceProperty managedInstance) Sets the value ofCfnWorkspaceInstanceProps.getManagedInstance()
Sets the value ofCfnWorkspaceInstanceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
managedInstance
@Stability(Stable) public CfnWorkspaceInstanceProps.Builder managedInstance(IResolvable managedInstance) Sets the value ofCfnWorkspaceInstanceProps.getManagedInstance()
- Parameters:
managedInstance
- the value to be set.- Returns:
this
-
managedInstance
@Stability(Stable) public CfnWorkspaceInstanceProps.Builder managedInstance(CfnWorkspaceInstance.ManagedInstanceProperty managedInstance) Sets the value ofCfnWorkspaceInstanceProps.getManagedInstance()
- Parameters:
managedInstance
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceInstanceProps.getTags()
- Parameters:
tags
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkspaceInstanceProps>
- Returns:
- a new instance of
CfnWorkspaceInstanceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-