Interface CreateSpaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSpaceRequest.Builder,
,CreateSpaceRequest> SageMakerRequest.Builder
,SdkBuilder<CreateSpaceRequest.Builder,
,CreateSpaceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSpaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the associated domain.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateSpaceRequest.Builder
ownershipSettings
(Consumer<OwnershipSettings.Builder> ownershipSettings) A collection of ownership settings.ownershipSettings
(OwnershipSettings ownershipSettings) A collection of ownership settings.spaceDisplayName
(String spaceDisplayName) The name of the space that appears in the SageMaker Studio UI.The name of the space.default CreateSpaceRequest.Builder
spaceSettings
(Consumer<SpaceSettings.Builder> spaceSettings) A collection of space settings.spaceSettings
(SpaceSettings spaceSettings) A collection of space settings.default CreateSpaceRequest.Builder
spaceSharingSettings
(Consumer<SpaceSharingSettings.Builder> spaceSharingSettings) A collection of space sharing settings.spaceSharingSettings
(SpaceSharingSettings spaceSharingSettings) A collection of space sharing settings.tags
(Collection<Tag> tags) Tags to associated with the space.tags
(Consumer<Tag.Builder>... tags) Tags to associated with the space.Tags to associated with the space.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainId
The ID of the associated domain.
- Parameters:
domainId
- The ID of the associated domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceName
The name of the space.
- Parameters:
spaceName
- The name of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the
Search
API.- Parameters:
tags
- Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using theSearch
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the
Search
API.- Parameters:
tags
- Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using theSearch
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the
This is a convenience method that creates an instance of theSearch
API.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spaceSettings
A collection of space settings.
- Parameters:
spaceSettings
- A collection of space settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceSettings
A collection of space settings.
This is a convenience method that creates an instance of theSpaceSettings.Builder
avoiding the need to create one manually viaSpaceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospaceSettings(SpaceSettings)
.- Parameters:
spaceSettings
- a consumer that will call methods onSpaceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownershipSettings
A collection of ownership settings.
- Parameters:
ownershipSettings
- A collection of ownership settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownershipSettings
default CreateSpaceRequest.Builder ownershipSettings(Consumer<OwnershipSettings.Builder> ownershipSettings) A collection of ownership settings.
This is a convenience method that creates an instance of theOwnershipSettings.Builder
avoiding the need to create one manually viaOwnershipSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toownershipSettings(OwnershipSettings)
.- Parameters:
ownershipSettings
- a consumer that will call methods onOwnershipSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spaceSharingSettings
A collection of space sharing settings.
- Parameters:
spaceSharingSettings
- A collection of space sharing settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceSharingSettings
default CreateSpaceRequest.Builder spaceSharingSettings(Consumer<SpaceSharingSettings.Builder> spaceSharingSettings) A collection of space sharing settings.
This is a convenience method that creates an instance of theSpaceSharingSettings.Builder
avoiding the need to create one manually viaSpaceSharingSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospaceSharingSettings(SpaceSharingSettings)
.- Parameters:
spaceSharingSettings
- a consumer that will call methods onSpaceSharingSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spaceDisplayName
The name of the space that appears in the SageMaker Studio UI.
- Parameters:
spaceDisplayName
- The name of the space that appears in the SageMaker Studio UI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSpaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSpaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-