Interface CreateSpaceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSpaceRequest.Builder,CreateSpaceRequest>,SageMakerRequest.Builder,SdkBuilder<CreateSpaceRequest.Builder,CreateSpaceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSpaceRequest
public static interface CreateSpaceRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateSpaceRequest.Builder,CreateSpaceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSpaceRequest.BuilderdomainId(String domainId)The ID of the associated Domain.CreateSpaceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSpaceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSpaceRequest.BuilderspaceName(String spaceName)The name of the space.default CreateSpaceRequest.BuilderspaceSettings(Consumer<SpaceSettings.Builder> spaceSettings)A collection of space settings.CreateSpaceRequest.BuilderspaceSettings(SpaceSettings spaceSettings)A collection of space settings.CreateSpaceRequest.Buildertags(Collection<Tag> tags)Tags to associated with the space.CreateSpaceRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to associated with the space.CreateSpaceRequest.Buildertags(Tag... tags)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 Detail
-
domainId
CreateSpaceRequest.Builder domainId(String 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
CreateSpaceRequest.Builder spaceName(String 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
CreateSpaceRequest.Builder tags(Collection<Tag> 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
CreateSpaceRequest.Builder tags(Tag... 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
CreateSpaceRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
spaceSettings
CreateSpaceRequest.Builder spaceSettings(SpaceSettings 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
default CreateSpaceRequest.Builder spaceSettings(Consumer<SpaceSettings.Builder> 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:
spaceSettings(SpaceSettings)
-
overrideConfiguration
CreateSpaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSpaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-