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()ownershipSettings(IResolvable ownershipSettings) Sets the value ofCfnSpaceProps.getOwnershipSettings()ownershipSettings(CfnSpace.OwnershipSettingsProperty ownershipSettings) Sets the value ofCfnSpaceProps.getOwnershipSettings()spaceDisplayName(String spaceDisplayName) Sets the value ofCfnSpaceProps.getSpaceDisplayName()Sets the value ofCfnSpaceProps.getSpaceName()spaceSettings(IResolvable spaceSettings) Sets the value ofCfnSpaceProps.getSpaceSettings()spaceSettings(CfnSpace.SpaceSettingsProperty spaceSettings) Sets the value ofCfnSpaceProps.getSpaceSettings()spaceSharingSettings(IResolvable spaceSharingSettings) Sets the value ofCfnSpaceProps.getSpaceSharingSettings()spaceSharingSettings(CfnSpace.SpaceSharingSettingsProperty spaceSharingSettings) Sets the value ofCfnSpaceProps.getSpaceSharingSettings()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
-
ownershipSettings
Sets the value ofCfnSpaceProps.getOwnershipSettings()- Parameters:
ownershipSettings- The collection of ownership settings for a space.- Returns:
this
-
ownershipSettings
@Stability(Stable) public CfnSpaceProps.Builder ownershipSettings(CfnSpace.OwnershipSettingsProperty ownershipSettings) Sets the value ofCfnSpaceProps.getOwnershipSettings()- Parameters:
ownershipSettings- The collection of ownership settings for a space.- Returns:
this
-
spaceDisplayName
Sets the value ofCfnSpaceProps.getSpaceDisplayName()- Parameters:
spaceDisplayName- The name of the space that appears in the Studio UI.- 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
-
spaceSharingSettings
@Stability(Stable) public CfnSpaceProps.Builder spaceSharingSettings(IResolvable spaceSharingSettings) Sets the value ofCfnSpaceProps.getSpaceSharingSettings()- Parameters:
spaceSharingSettings- A collection of space sharing settings.- Returns:
this
-
spaceSharingSettings
@Stability(Stable) public CfnSpaceProps.Builder spaceSharingSettings(CfnSpace.SpaceSharingSettingsProperty spaceSharingSettings) Sets the value ofCfnSpaceProps.getSpaceSharingSettings()- Parameters:
spaceSharingSettings- A collection of space sharing 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpaceProps>- Returns:
- a new instance of
CfnSpaceProps - Throws:
NullPointerException- if any required attribute was not provided
-