Interface CreateStudioLifecycleConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStudioLifecycleConfigRequest.Builder,
,CreateStudioLifecycleConfigRequest> SageMakerRequest.Builder
,SdkBuilder<CreateStudioLifecycleConfigRequest.Builder,
,CreateStudioLifecycleConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStudioLifecycleConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.studioLifecycleConfigAppType
(String studioLifecycleConfigAppType) The App type that the Lifecycle Configuration is attached to.studioLifecycleConfigAppType
(StudioLifecycleConfigAppType studioLifecycleConfigAppType) The App type that the Lifecycle Configuration is attached to.studioLifecycleConfigContent
(String studioLifecycleConfigContent) The content of your Amazon SageMaker Studio Lifecycle Configuration script.studioLifecycleConfigName
(String studioLifecycleConfigName) The name of the Amazon SageMaker Studio Lifecycle Configuration to create.tags
(Collection<Tag> tags) Tags to be associated with the Lifecycle Configuration.tags
(Consumer<Tag.Builder>... tags) Tags to be associated with the Lifecycle Configuration.Tags to be associated with the Lifecycle Configuration.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
-
studioLifecycleConfigName
CreateStudioLifecycleConfigRequest.Builder studioLifecycleConfigName(String studioLifecycleConfigName) The name of the Amazon SageMaker Studio Lifecycle Configuration to create.
- Parameters:
studioLifecycleConfigName
- The name of the Amazon SageMaker Studio Lifecycle Configuration to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
studioLifecycleConfigContent
CreateStudioLifecycleConfigRequest.Builder studioLifecycleConfigContent(String studioLifecycleConfigContent) The content of your Amazon SageMaker Studio Lifecycle Configuration script. This content must be base64 encoded.
- Parameters:
studioLifecycleConfigContent
- The content of your Amazon SageMaker Studio Lifecycle Configuration script. This content must be base64 encoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
studioLifecycleConfigAppType
CreateStudioLifecycleConfigRequest.Builder studioLifecycleConfigAppType(String studioLifecycleConfigAppType) The App type that the Lifecycle Configuration is attached to.
- Parameters:
studioLifecycleConfigAppType
- The App type that the Lifecycle Configuration is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
studioLifecycleConfigAppType
CreateStudioLifecycleConfigRequest.Builder studioLifecycleConfigAppType(StudioLifecycleConfigAppType studioLifecycleConfigAppType) The App type that the Lifecycle Configuration is attached to.
- Parameters:
studioLifecycleConfigAppType
- The App type that the Lifecycle Configuration is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.
- Parameters:
tags
- Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.
- Parameters:
tags
- Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.
This is a convenience method that creates an instance of theTag.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:
-
overrideConfiguration
CreateStudioLifecycleConfigRequest.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
CreateStudioLifecycleConfigRequest.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.
-