Class CfnSpaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpaceProps>
- Enclosing interface:
- CfnSpaceProps
@Stability(Stable)
public static final class CfnSpaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpaceProps>
A builder for
CfnSpaceProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSpaceProps.getDomainId()
Sets the value ofCfnSpaceProps.getSpaceName()
spaceSettings
(IResolvable spaceSettings) Sets the value ofCfnSpaceProps.getSpaceSettings()
spaceSettings
(CfnSpace.SpaceSettingsProperty spaceSettings) Sets the value ofCfnSpaceProps.getSpaceSettings()
Sets the value ofCfnSpaceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofCfnSpaceProps.getDomainId()
- Parameters:
domainId
- The ID of the associated Domain. This parameter is required.- Returns:
this
-
spaceName
Sets the value ofCfnSpaceProps.getSpaceName()
- Parameters:
spaceName
- The name of the space. This parameter is required.- Returns:
this
-
spaceSettings
Sets the value ofCfnSpaceProps.getSpaceSettings()
- Parameters:
spaceSettings
- A collection of space settings.- Returns:
this
-
spaceSettings
@Stability(Stable) public CfnSpaceProps.Builder spaceSettings(CfnSpace.SpaceSettingsProperty spaceSettings) Sets the value ofCfnSpaceProps.getSpaceSettings()
- Parameters:
spaceSettings
- A collection of space settings.- Returns:
this
-
tags
Sets the value ofCfnSpaceProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpaceProps>
- Returns:
- a new instance of
CfnSpaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-