Interface DescribeFlowDefinitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFlowDefinitionResponse.Builder,DescribeFlowDefinitionResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeFlowDefinitionResponse.Builder,DescribeFlowDefinitionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeFlowDefinitionResponse
public static interface DescribeFlowDefinitionResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeFlowDefinitionResponse.Builder,DescribeFlowDefinitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeFlowDefinitionResponse.BuildercreationTime(Instant creationTime)The timestamp when the flow definition was created.DescribeFlowDefinitionResponse.BuilderfailureReason(String failureReason)The reason your flow definition failed.DescribeFlowDefinitionResponse.BuilderflowDefinitionArn(String flowDefinitionArn)The Amazon Resource Name (ARN) of the flow defintion.DescribeFlowDefinitionResponse.BuilderflowDefinitionName(String flowDefinitionName)The Amazon Resource Name (ARN) of the flow definition.DescribeFlowDefinitionResponse.BuilderflowDefinitionStatus(String flowDefinitionStatus)The status of the flow definition.DescribeFlowDefinitionResponse.BuilderflowDefinitionStatus(FlowDefinitionStatus flowDefinitionStatus)The status of the flow definition.default DescribeFlowDefinitionResponse.BuilderhumanLoopActivationConfig(Consumer<HumanLoopActivationConfig.Builder> humanLoopActivationConfig)An object containing information about what triggers a human review workflow.DescribeFlowDefinitionResponse.BuilderhumanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)An object containing information about what triggers a human review workflow.default DescribeFlowDefinitionResponse.BuilderhumanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)An object containing information about who works on the task, the workforce task price, and other task details.DescribeFlowDefinitionResponse.BuilderhumanLoopConfig(HumanLoopConfig humanLoopConfig)An object containing information about who works on the task, the workforce task price, and other task details.default DescribeFlowDefinitionResponse.BuilderhumanLoopRequestSource(Consumer<HumanLoopRequestSource.Builder> humanLoopRequestSource)Container for configuring the source of human task requests.DescribeFlowDefinitionResponse.BuilderhumanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)Container for configuring the source of human task requests.default DescribeFlowDefinitionResponse.BuilderoutputConfig(Consumer<FlowDefinitionOutputConfig.Builder> outputConfig)An object containing information about the output file.DescribeFlowDefinitionResponse.BuilderoutputConfig(FlowDefinitionOutputConfig outputConfig)An object containing information about the output file.DescribeFlowDefinitionResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
flowDefinitionArn
DescribeFlowDefinitionResponse.Builder flowDefinitionArn(String flowDefinitionArn)
The Amazon Resource Name (ARN) of the flow defintion.
- Parameters:
flowDefinitionArn- The Amazon Resource Name (ARN) of the flow defintion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowDefinitionName
DescribeFlowDefinitionResponse.Builder flowDefinitionName(String flowDefinitionName)
The Amazon Resource Name (ARN) of the flow definition.
- Parameters:
flowDefinitionName- The Amazon Resource Name (ARN) of the flow definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowDefinitionStatus
DescribeFlowDefinitionResponse.Builder flowDefinitionStatus(String flowDefinitionStatus)
The status of the flow definition. Valid values are listed below.
- Parameters:
flowDefinitionStatus- The status of the flow definition. Valid values are listed below.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowDefinitionStatus,FlowDefinitionStatus
-
flowDefinitionStatus
DescribeFlowDefinitionResponse.Builder flowDefinitionStatus(FlowDefinitionStatus flowDefinitionStatus)
The status of the flow definition. Valid values are listed below.
- Parameters:
flowDefinitionStatus- The status of the flow definition. Valid values are listed below.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowDefinitionStatus,FlowDefinitionStatus
-
creationTime
DescribeFlowDefinitionResponse.Builder creationTime(Instant creationTime)
The timestamp when the flow definition was created.
- Parameters:
creationTime- The timestamp when the flow definition was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopRequestSource
DescribeFlowDefinitionResponse.Builder humanLoopRequestSource(HumanLoopRequestSource humanLoopRequestSource)
Container for configuring the source of human task requests. Used 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. Used 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 DescribeFlowDefinitionResponse.Builder humanLoopRequestSource(Consumer<HumanLoopRequestSource.Builder> humanLoopRequestSource)
Container for configuring the source of human task requests. Used 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:
humanLoopRequestSource(HumanLoopRequestSource)
-
humanLoopActivationConfig
DescribeFlowDefinitionResponse.Builder humanLoopActivationConfig(HumanLoopActivationConfig humanLoopActivationConfig)
An object containing information about what triggers a human review workflow.
- Parameters:
humanLoopActivationConfig- An object containing information about what triggers a human review workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopActivationConfig
default DescribeFlowDefinitionResponse.Builder humanLoopActivationConfig(Consumer<HumanLoopActivationConfig.Builder> humanLoopActivationConfig)
An object containing information about what triggers a human review 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:
humanLoopActivationConfig(HumanLoopActivationConfig)
-
humanLoopConfig
DescribeFlowDefinitionResponse.Builder humanLoopConfig(HumanLoopConfig humanLoopConfig)
An object containing information about who works on the task, the workforce task price, and other task details.
- Parameters:
humanLoopConfig- An object containing information about who works on the task, the workforce task price, and other task details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopConfig
default DescribeFlowDefinitionResponse.Builder humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
An object containing information about who works on the task, the workforce task price, and other task details.
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:
humanLoopConfig(HumanLoopConfig)
-
outputConfig
DescribeFlowDefinitionResponse.Builder outputConfig(FlowDefinitionOutputConfig outputConfig)
An object containing information about the output file.
- Parameters:
outputConfig- An object containing information about the output file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default DescribeFlowDefinitionResponse.Builder outputConfig(Consumer<FlowDefinitionOutputConfig.Builder> outputConfig)
An object containing information about the output file.
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:
outputConfig(FlowDefinitionOutputConfig)
-
roleArn
DescribeFlowDefinitionResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
DescribeFlowDefinitionResponse.Builder failureReason(String failureReason)
The reason your flow definition failed.
- Parameters:
failureReason- The reason your flow definition failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-