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
-
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
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
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
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
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 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 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.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:
spaceSettings(SpaceSettings)
-
ownershipSettings
CreateSpaceRequest.Builder ownershipSettings(OwnershipSettings 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:
ownershipSettings(OwnershipSettings)
-
spaceSharingSettings
CreateSpaceRequest.Builder spaceSharingSettings(SpaceSharingSettings 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:
spaceSharingSettings(SpaceSharingSettings)
-
spaceDisplayName
CreateSpaceRequest.Builder spaceDisplayName(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSpaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-