Interface HumanLoopConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HumanLoopConfig.Builder,
,HumanLoopConfig> SdkBuilder<HumanLoopConfig.Builder,
,HumanLoopConfig> SdkPojo
- Enclosing class:
HumanLoopConfig
public static interface HumanLoopConfig.Builder
extends SdkPojo, CopyableBuilder<HumanLoopConfig.Builder,HumanLoopConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HumanLoopConfig.Builder
dataAttributes
(Consumer<HumanLoopDataAttributes.Builder> dataAttributes) Sets attributes of the input data.dataAttributes
(HumanLoopDataAttributes dataAttributes) Sets attributes of the input data.flowDefinitionArn
(String flowDefinitionArn) The Amazon Resource Name (ARN) of the flow definition.humanLoopName
(String humanLoopName) The name of the human review used for this image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
humanLoopName
The name of the human review used for this image. This should be kept unique within a region.
- Parameters:
humanLoopName
- The name of the human review used for this image. This should be kept unique within a region.- 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. You can create a flow definition by using the Amazon Sagemaker CreateFlowDefinition Operation.
- Parameters:
flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition. You can create a flow definition by using the Amazon Sagemaker CreateFlowDefinition Operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAttributes
Sets attributes of the input data.
- Parameters:
dataAttributes
- Sets attributes of the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAttributes
default HumanLoopConfig.Builder dataAttributes(Consumer<HumanLoopDataAttributes.Builder> dataAttributes) Sets attributes of the input data.
This is a convenience method that creates an instance of theHumanLoopDataAttributes.Builder
avoiding the need to create one manually viaHumanLoopDataAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataAttributes(HumanLoopDataAttributes)
.- Parameters:
dataAttributes
- a consumer that will call methods onHumanLoopDataAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-