Class CfnSpaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnSpaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpaceMixinProps>
- Enclosing interface:
CfnSpaceMixinProps
@Stability(Stable)
public static final class CfnSpaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpaceMixinProps>
A builder for
CfnSpaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSpaceMixinProps.getDomainId()ownershipSettings(CfnSpacePropsMixin.OwnershipSettingsProperty ownershipSettings) Sets the value ofCfnSpaceMixinProps.getOwnershipSettings()ownershipSettings(IResolvable ownershipSettings) Sets the value ofCfnSpaceMixinProps.getOwnershipSettings()spaceDisplayName(String spaceDisplayName) Sets the value ofCfnSpaceMixinProps.getSpaceDisplayName()Sets the value ofCfnSpaceMixinProps.getSpaceName()spaceSettings(CfnSpacePropsMixin.SpaceSettingsProperty spaceSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSettings()spaceSettings(IResolvable spaceSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSettings()spaceSharingSettings(CfnSpacePropsMixin.SpaceSharingSettingsProperty spaceSharingSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSharingSettings()spaceSharingSettings(IResolvable spaceSharingSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSharingSettings()Sets the value ofCfnSpaceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofCfnSpaceMixinProps.getDomainId()- Parameters:
domainId- The ID of the associated domain.- Returns:
this
-
ownershipSettings
@Stability(Stable) public CfnSpaceMixinProps.Builder ownershipSettings(IResolvable ownershipSettings) Sets the value ofCfnSpaceMixinProps.getOwnershipSettings()- Parameters:
ownershipSettings- The collection of ownership settings for a space.- Returns:
this
-
ownershipSettings
@Stability(Stable) public CfnSpaceMixinProps.Builder ownershipSettings(CfnSpacePropsMixin.OwnershipSettingsProperty ownershipSettings) Sets the value ofCfnSpaceMixinProps.getOwnershipSettings()- Parameters:
ownershipSettings- The collection of ownership settings for a space.- Returns:
this
-
spaceDisplayName
Sets the value ofCfnSpaceMixinProps.getSpaceDisplayName()- Parameters:
spaceDisplayName- The name of the space that appears in the Studio UI.- Returns:
this
-
spaceName
Sets the value ofCfnSpaceMixinProps.getSpaceName()- Parameters:
spaceName- The name of the space.- Returns:
this
-
spaceSettings
Sets the value ofCfnSpaceMixinProps.getSpaceSettings()- Parameters:
spaceSettings- A collection of space settings.- Returns:
this
-
spaceSettings
@Stability(Stable) public CfnSpaceMixinProps.Builder spaceSettings(CfnSpacePropsMixin.SpaceSettingsProperty spaceSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSettings()- Parameters:
spaceSettings- A collection of space settings.- Returns:
this
-
spaceSharingSettings
@Stability(Stable) public CfnSpaceMixinProps.Builder spaceSharingSettings(IResolvable spaceSharingSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSharingSettings()- Parameters:
spaceSharingSettings- A collection of space sharing settings.- Returns:
this
-
spaceSharingSettings
@Stability(Stable) public CfnSpaceMixinProps.Builder spaceSharingSettings(CfnSpacePropsMixin.SpaceSharingSettingsProperty spaceSharingSettings) Sets the value ofCfnSpaceMixinProps.getSpaceSharingSettings()- Parameters:
spaceSharingSettings- A collection of space sharing settings.- Returns:
this
-
tags
Sets the value ofCfnSpaceMixinProps.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<CfnSpaceMixinProps>- Returns:
- a new instance of
CfnSpaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-