Interface CreateActionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateActionRequest.Builder,CreateActionRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreateActionRequest.Builder,CreateActionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateActionRequest
public static interface CreateActionRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateActionRequest.Builder,CreateActionRequest>
-
-
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
-
actionName
CreateActionRequest.Builder actionName(String 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
CreateActionRequest.Builder source(ActionSource 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
default CreateActionRequest.Builder source(Consumer<ActionSource.Builder> source)
The source type, ID, and URI.
This is a convenience method that creates an instance of theActionSource.Builder
avoiding the need to create one manually viaActionSource.builder()
.When the
Consumer
completes,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:
source(ActionSource)
-
actionType
CreateActionRequest.Builder actionType(String 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
CreateActionRequest.Builder description(String 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
CreateActionRequest.Builder status(String 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:
ActionStatus
,ActionStatus
-
status
CreateActionRequest.Builder status(ActionStatus 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:
ActionStatus
,ActionStatus
-
properties
CreateActionRequest.Builder properties(Map<String,String> 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
CreateActionRequest.Builder metadataProperties(MetadataProperties 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.Builder
avoiding the need to create one manually viaMetadataProperties.builder()
.When the
Consumer
completes,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:
metadataProperties(MetadataProperties)
-
tags
CreateActionRequest.Builder tags(Collection<Tag> 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
CreateActionRequest.Builder tags(Tag... 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
CreateActionRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the action.
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 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
)
-
overrideConfiguration
CreateActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-