Class CfnWorkspacePropsMixin.DataResidencyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.awsexternalanthropic.CfnWorkspacePropsMixin.DataResidencyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.DataResidencyProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.DataResidencyProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.DataResidencyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.DataResidencyProperty>
A builder for
CfnWorkspacePropsMixin.DataResidencyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedInferenceGeos(List<String> allowedInferenceGeos) Sets the value ofCfnWorkspacePropsMixin.DataResidencyProperty.getAllowedInferenceGeos()build()Builds the configured instance.defaultInferenceGeo(String defaultInferenceGeo) Sets the value ofCfnWorkspacePropsMixin.DataResidencyProperty.getDefaultInferenceGeo()workspaceGeo(String workspaceGeo) Sets the value ofCfnWorkspacePropsMixin.DataResidencyProperty.getWorkspaceGeo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedInferenceGeos
@Stability(Stable) public CfnWorkspacePropsMixin.DataResidencyProperty.Builder allowedInferenceGeos(List<String> allowedInferenceGeos) Sets the value ofCfnWorkspacePropsMixin.DataResidencyProperty.getAllowedInferenceGeos()- Parameters:
allowedInferenceGeos- Permitted inference geo values. Omit to allow all geos (the service default of 'unrestricted'); otherwise list specific geos.- Returns:
this
-
defaultInferenceGeo
@Stability(Stable) public CfnWorkspacePropsMixin.DataResidencyProperty.Builder defaultInferenceGeo(String defaultInferenceGeo) Sets the value ofCfnWorkspacePropsMixin.DataResidencyProperty.getDefaultInferenceGeo()- Parameters:
defaultInferenceGeo- Default inference geo applied when requests omit the parameter. Defaults to 'global' if omitted. Must be a member of AllowedInferenceGeos unless AllowedInferenceGeos is omitted.- Returns:
this
-
workspaceGeo
@Stability(Stable) public CfnWorkspacePropsMixin.DataResidencyProperty.Builder workspaceGeo(String workspaceGeo) Sets the value ofCfnWorkspacePropsMixin.DataResidencyProperty.getWorkspaceGeo()- Parameters:
workspaceGeo- Geographic region for workspace data storage. Immutable after creation. Defaults to 'us' if omitted.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.DataResidencyProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.DataResidencyProperty - Throws:
NullPointerException- if any required attribute was not provided
-