Interface CreateFlowDefinitionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFlowDefinitionRequest.Builder,CreateFlowDefinitionRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreateFlowDefinitionRequest.Builder,CreateFlowDefinitionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateFlowDefinitionRequest
public static interface CreateFlowDefinitionRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateFlowDefinitionRequest.Builder,CreateFlowDefinitionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFlowDefinitionRequest.Builder
flowDefinitionName(String flowDefinitionName)
The name of your flow definition.default CreateFlowDefinitionRequest.Builder
humanLoopActivationConfig(Consumer<HumanLoopActivationConfig.Builder> humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.CreateFlowDefinitionRequest.Builder
humanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.default CreateFlowDefinitionRequest.Builder
humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.CreateFlowDefinitionRequest.Builder
humanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.default CreateFlowDefinitionRequest.Builder
humanLoopRequestSource(Consumer<HumanLoopRequestSource.Builder> humanLoopRequestSource)
Container for configuring the source of human task requests.CreateFlowDefinitionRequest.Builder
humanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests.default CreateFlowDefinitionRequest.Builder
outputConfig(Consumer<FlowDefinitionOutputConfig.Builder> outputConfig)
An object containing information about where the human review results will be uploaded.CreateFlowDefinitionRequest.Builder
outputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about where the human review results will be uploaded.CreateFlowDefinitionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateFlowDefinitionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateFlowDefinitionRequest.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf.CreateFlowDefinitionRequest.Builder
tags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.CreateFlowDefinitionRequest.Builder
tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.CreateFlowDefinitionRequest.Builder
tags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.-
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
-
flowDefinitionName
CreateFlowDefinitionRequest.Builder flowDefinitionName(String flowDefinitionName)
The name of your flow definition.
- Parameters:
flowDefinitionName
- The name of your flow definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopRequestSource
CreateFlowDefinitionRequest.Builder humanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
- Parameters:
humanLoopRequestSource
- Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopRequestSource
default CreateFlowDefinitionRequest.Builder humanLoopRequestSource(Consumer<HumanLoopRequestSource.Builder> humanLoopRequestSource)
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
This is a convenience method that creates an instance of theHumanLoopRequestSource.Builder
avoiding the need to create one manually viaHumanLoopRequestSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohumanLoopRequestSource(HumanLoopRequestSource)
.- Parameters:
humanLoopRequestSource
- a consumer that will call methods onHumanLoopRequestSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
humanLoopRequestSource(HumanLoopRequestSource)
-
humanLoopActivationConfig
CreateFlowDefinitionRequest.Builder humanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.
- Parameters:
humanLoopActivationConfig
- An object containing information about the events that trigger a human workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopActivationConfig
default CreateFlowDefinitionRequest.Builder humanLoopActivationConfig(Consumer<HumanLoopActivationConfig.Builder> humanLoopActivationConfig)
An object containing information about the events that trigger a human workflow.
This is a convenience method that creates an instance of theHumanLoopActivationConfig.Builder
avoiding the need to create one manually viaHumanLoopActivationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohumanLoopActivationConfig(HumanLoopActivationConfig)
.- Parameters:
humanLoopActivationConfig
- a consumer that will call methods onHumanLoopActivationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
humanLoopActivationConfig(HumanLoopActivationConfig)
-
humanLoopConfig
CreateFlowDefinitionRequest.Builder humanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.
- Parameters:
humanLoopConfig
- An object containing information about the tasks the human reviewers will perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopConfig
default CreateFlowDefinitionRequest.Builder humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
An object containing information about the tasks the human reviewers will perform.
This is a convenience method that creates an instance of theHumanLoopConfig.Builder
avoiding the need to create one manually viaHumanLoopConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohumanLoopConfig(HumanLoopConfig)
.- Parameters:
humanLoopConfig
- a consumer that will call methods onHumanLoopConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
humanLoopConfig(HumanLoopConfig)
-
outputConfig
CreateFlowDefinitionRequest.Builder outputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about where the human review results will be uploaded.
- Parameters:
outputConfig
- An object containing information about where the human review results will be uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateFlowDefinitionRequest.Builder outputConfig(Consumer<FlowDefinitionOutputConfig.Builder> outputConfig)
An object containing information about where the human review results will be uploaded.
This is a convenience method that creates an instance of theFlowDefinitionOutputConfig.Builder
avoiding the need to create one manually viaFlowDefinitionOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(FlowDefinitionOutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onFlowDefinitionOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputConfig(FlowDefinitionOutputConfig)
-
roleArn
CreateFlowDefinitionRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example,arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFlowDefinitionRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
- Parameters:
tags
- An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFlowDefinitionRequest.Builder tags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
- Parameters:
tags
- An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFlowDefinitionRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
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
CreateFlowDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFlowDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-