Class SpaceReference.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.SpaceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SpaceReference>
- Enclosing interface:
SpaceReference
@Stability(Stable)
public static final class SpaceReference.Builder
extends Object
implements software.amazon.jsii.Builder<SpaceReference>
A builder for
SpaceReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofSpaceReference.getDomainId()
Sets the value ofSpaceReference.getSpaceArn()
Sets the value ofSpaceReference.getSpaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofSpaceReference.getDomainId()
- Parameters:
domainId
- The DomainId of the Space resource. This parameter is required.- Returns:
this
-
spaceArn
Sets the value ofSpaceReference.getSpaceArn()
- Parameters:
spaceArn
- The ARN of the Space resource. This parameter is required.- Returns:
this
-
spaceName
Sets the value ofSpaceReference.getSpaceName()
- Parameters:
spaceName
- The SpaceName of the Space resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SpaceReference>
- Returns:
- a new instance of
SpaceReference
- Throws:
NullPointerException
- if any required attribute was not provided
-