Class CfnWorkspace.Builder
java.lang.Object
software.amazon.awscdk.services.awsexternalanthropic.CfnWorkspace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace>
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static final class CfnWorkspace.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace>
A fluent builder for
CfnWorkspace.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnWorkspace.BuilderdataResidency(IResolvable dataResidency) Data residency configuration for the workspace.dataResidency(CfnWorkspace.DataResidencyProperty dataResidency) Data residency configuration for the workspace.The name of the workspace.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkspace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkspace.Builder.
-
name
The name of the workspace.- Parameters:
name- The name of the workspace. This parameter is required.- Returns:
this- See Also:
-
dataResidency
Data residency configuration for the workspace.WorkspaceGeo is immutable after creation.
- Parameters:
dataResidency- Data residency configuration for the workspace. This parameter is required.- Returns:
this- See Also:
-
dataResidency
@Stability(Stable) public CfnWorkspace.Builder dataResidency(CfnWorkspace.DataResidencyProperty dataResidency) Data residency configuration for the workspace.WorkspaceGeo is immutable after creation.
- Parameters:
dataResidency- Data residency configuration for the workspace. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace>- Returns:
- a newly built instance of
CfnWorkspace.
-