Interface DescribeHumanLoopResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeHumanLoopResponse.Builder,
,DescribeHumanLoopResponse> SageMakerA2IRuntimeResponse.Builder
,SdkBuilder<DescribeHumanLoopResponse.Builder,
,DescribeHumanLoopResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeHumanLoopResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The creation time when Amazon Augmented AI created the human loop.failureCode
(String failureCode) A failure code that identifies the type of failure.failureReason
(String failureReason) The reason why a human loop failed.flowDefinitionArn
(String flowDefinitionArn) The Amazon Resource Name (ARN) of the flow definition.humanLoopArn
(String humanLoopArn) The Amazon Resource Name (ARN) of the human loop.humanLoopName
(String humanLoopName) The name of the human loop.humanLoopOutput
(Consumer<HumanLoopOutput.Builder> humanLoopOutput) An object that contains information about the output of the human loop.humanLoopOutput
(HumanLoopOutput humanLoopOutput) An object that contains information about the output of the human loop.humanLoopStatus
(String humanLoopStatus) The status of the human loop.humanLoopStatus
(HumanLoopStatus humanLoopStatus) The status of the human loop.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemakera2iruntime.model.SageMakerA2IRuntimeResponse.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 Details
-
creationTime
The creation time when Amazon Augmented AI created the human loop.
- Parameters:
creationTime
- The creation time when Amazon Augmented AI created the human loop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason why a human loop failed. The failure reason is returned when the status of the human loop is
Failed
.- Parameters:
failureReason
- The reason why a human loop failed. The failure reason is returned when the status of the human loop isFailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
A failure code that identifies the type of failure.
Possible values:
ValidationError
,Expired
,InternalError
- Parameters:
failureCode
- A failure code that identifies the type of failure.Possible values:
ValidationError
,Expired
,InternalError
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopStatus
The status of the human loop.
- Parameters:
humanLoopStatus
- The status of the human loop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
humanLoopStatus
The status of the human loop.
- Parameters:
humanLoopStatus
- The status of the human loop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
humanLoopName
The name of the human loop. The name must be lowercase, unique within the Region in your account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).
- Parameters:
humanLoopName
- The name of the human loop. The name must be lowercase, unique within the Region in your account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopArn
The Amazon Resource Name (ARN) of the human loop.
- Parameters:
humanLoopArn
- The Amazon Resource Name (ARN) of the human loop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowDefinitionArn
The Amazon Resource Name (ARN) of the flow definition.
- Parameters:
flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopOutput
An object that contains information about the output of the human loop.
- Parameters:
humanLoopOutput
- An object that contains information about the output of the human loop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanLoopOutput
default DescribeHumanLoopResponse.Builder humanLoopOutput(Consumer<HumanLoopOutput.Builder> humanLoopOutput) An object that contains information about the output of the human loop.
This is a convenience method that creates an instance of theHumanLoopOutput.Builder
avoiding the need to create one manually viaHumanLoopOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohumanLoopOutput(HumanLoopOutput)
.- Parameters:
humanLoopOutput
- a consumer that will call methods onHumanLoopOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-