Class CfnWorkspaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.awsexternalanthropic.CfnWorkspaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceMixinProps>
- Enclosing interface:
CfnWorkspaceMixinProps
@Stability(Stable)
public static final class CfnWorkspaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceMixinProps>
A builder for
CfnWorkspaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataResidency(CfnWorkspacePropsMixin.DataResidencyProperty dataResidency) Sets the value ofCfnWorkspaceMixinProps.getDataResidency()dataResidency(IResolvable dataResidency) Sets the value ofCfnWorkspaceMixinProps.getDataResidency()Sets the value ofCfnWorkspaceMixinProps.getName()Sets the value ofCfnWorkspaceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataResidency
Sets the value ofCfnWorkspaceMixinProps.getDataResidency()- Parameters:
dataResidency- Data residency configuration for the workspace. WorkspaceGeo is immutable after creation.- Returns:
this
-
dataResidency
@Stability(Stable) public CfnWorkspaceMixinProps.Builder dataResidency(CfnWorkspacePropsMixin.DataResidencyProperty dataResidency) Sets the value ofCfnWorkspaceMixinProps.getDataResidency()- Parameters:
dataResidency- Data residency configuration for the workspace. WorkspaceGeo is immutable after creation.- Returns:
this
-
name
Sets the value ofCfnWorkspaceMixinProps.getName()- Parameters:
name- The name of the workspace.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceMixinProps>- Returns:
- a new instance of
CfnWorkspaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-