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.The name of the space.default CreateSpaceRequest.BuilderspaceSettings(Consumer<SpaceSettings.Builder> spaceSettings) A collection of space settings.spaceSettings(SpaceSettings spaceSettings) A collection of space 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
SearchAPI.- 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 theSearchAPI.- 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
SearchAPI.- 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 theSearchAPI.- 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 theSearchAPI.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSpaceSettings.builder().When the
Consumercompletes,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:
-
overrideConfiguration
CreateSpaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-