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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HumanLoopConfig.BuilderdataAttributes(Consumer<HumanLoopDataAttributes.Builder> dataAttributes)Sets attributes of the input data.HumanLoopConfig.BuilderdataAttributes(HumanLoopDataAttributes dataAttributes)Sets attributes of the input data.HumanLoopConfig.BuilderflowDefinitionArn(String flowDefinitionArn)The Amazon Resource Name (ARN) of the flow definition.HumanLoopConfig.BuilderhumanLoopName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
humanLoopName
HumanLoopConfig.Builder humanLoopName(String 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
HumanLoopConfig.Builder flowDefinitionArn(String 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
HumanLoopConfig.Builder dataAttributes(HumanLoopDataAttributes 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.Builderavoiding the need to create one manually viaHumanLoopDataAttributes.builder().When the
Consumercompletes,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:
dataAttributes(HumanLoopDataAttributes)
-
-