Interface CreateActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateActionRequest.Builder,,CreateActionRequest> SageMakerRequest.Builder,SdkBuilder<CreateActionRequest.Builder,,CreateActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateActionRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) The name of the action.actionType(String actionType) The action type.description(String description) The description of the action.default CreateActionRequest.BuildermetadataProperties(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object.metadataProperties(MetadataProperties metadataProperties) Sets the value of the MetadataProperties property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.properties(Map<String, String> properties) A list of properties to add to the action.default CreateActionRequest.Buildersource(Consumer<ActionSource.Builder> source) The source type, ID, and URI.source(ActionSource source) The source type, ID, and URI.The status of the action.status(ActionStatus status) The status of the action.tags(Collection<Tag> tags) A list of tags to apply to the action.tags(Consumer<Tag.Builder>... tags) A list of tags to apply to the action.A list of tags to apply to the action.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
-
actionName
The name of the action. Must be unique to your account in an Amazon Web Services Region.
- Parameters:
actionName- The name of the action. Must be unique to your account in an Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source type, ID, and URI.
- Parameters:
source- The source type, ID, and URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source type, ID, and URI.
This is a convenience method that creates an instance of theActionSource.Builderavoiding the need to create one manually viaActionSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ActionSource).- Parameters:
source- a consumer that will call methods onActionSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionType
The action type.
- Parameters:
actionType- The action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the action.
- Parameters:
description- The description of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the action.
- Parameters:
status- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the action.
- Parameters:
status- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
A list of properties to add to the action.
- Parameters:
properties- A list of properties to add to the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
Sets the value of the MetadataProperties property for this object.- Parameters:
metadataProperties- The new value for the MetadataProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
default CreateActionRequest.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builderavoiding the need to create one manually viaMetadataProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataProperties(MetadataProperties).- Parameters:
metadataProperties- a consumer that will call methods onMetadataProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags to apply to the action.
- Parameters:
tags- A list of tags to apply to the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the action.
- Parameters:
tags- A list of tags to apply to the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the action.
This is a convenience method that creates an instance of theTag.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:
-
overrideConfiguration
CreateActionRequest.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
CreateActionRequest.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.
-