Class CfnSpace.SpaceSharingSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.SpaceSharingSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.SpaceSharingSettingsProperty>
- Enclosing interface:
CfnSpace.SpaceSharingSettingsProperty
@Stability(Stable)
public static final class CfnSpace.SpaceSharingSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.SpaceSharingSettingsProperty>
A builder for
CfnSpace.SpaceSharingSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sharingType
(String sharingType) Sets the value ofCfnSpace.SpaceSharingSettingsProperty.getSharingType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sharingType
@Stability(Stable) public CfnSpace.SpaceSharingSettingsProperty.Builder sharingType(String sharingType) Sets the value ofCfnSpace.SpaceSharingSettingsProperty.getSharingType()
- Parameters:
sharingType
- Specifies the sharing type of the space. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpace.SpaceSharingSettingsProperty>
- Returns:
- a new instance of
CfnSpace.SpaceSharingSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-