Interface CreateFlowDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFlowDefinitionRequest.Builder,,CreateFlowDefinitionRequest> SageMakerRequest.Builder,SdkBuilder<CreateFlowDefinitionRequest.Builder,,CreateFlowDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFlowDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionflowDefinitionName(String flowDefinitionName) The name of your flow definition.humanLoopActivationConfig(Consumer<HumanLoopActivationConfig.Builder> humanLoopActivationConfig) An object containing information about the events that trigger a human workflow.humanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig) An object containing information about the events that trigger a human workflow.humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig) An object containing information about the tasks the human reviewers will perform.humanLoopConfig(HumanLoopConfig humanLoopConfig) An object containing information about the tasks the human reviewers will perform.humanLoopRequestSource(Consumer<HumanLoopRequestSource.Builder> humanLoopRequestSource) Container for configuring the source of human task requests.humanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource) Container for configuring the source of human task requests.outputConfig(Consumer<FlowDefinitionOutputConfig.Builder> outputConfig) An object containing information about where the human review results will be uploaded.outputConfig(FlowDefinitionOutputConfig outputConfig) An object containing information about where the human review results will be uploaded.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the role needed to call other services on your behalf.tags(Collection<Tag> tags) An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.tags(Consumer<Tag.Builder>... tags) An array of key-value pairs that contain metadata to help you categorize and organize a flow definition.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
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
-
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.Builderavoiding the need to create one manually viaHumanLoopRequestSource.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaHumanLoopActivationConfig.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaHumanLoopConfig.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaFlowDefinitionOutputConfig.builder().When the
Consumercompletes,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:
-
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
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
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
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.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
CreateFlowDefinitionRequest.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
CreateFlowDefinitionRequest.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.
-