Interface LabelingJobInputConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LabelingJobInputConfig.Builder,LabelingJobInputConfig>
,SdkBuilder<LabelingJobInputConfig.Builder,LabelingJobInputConfig>
,SdkPojo
- Enclosing class:
- LabelingJobInputConfig
public static interface LabelingJobInputConfig.Builder extends SdkPojo, CopyableBuilder<LabelingJobInputConfig.Builder,LabelingJobInputConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LabelingJobInputConfig.Builder
dataAttributes(Consumer<LabelingJobDataAttributes.Builder> dataAttributes)
Attributes of the data specified by the customer.LabelingJobInputConfig.Builder
dataAttributes(LabelingJobDataAttributes dataAttributes)
Attributes of the data specified by the customer.default LabelingJobInputConfig.Builder
dataSource(Consumer<LabelingJobDataSource.Builder> dataSource)
The location of the input data.LabelingJobInputConfig.Builder
dataSource(LabelingJobDataSource dataSource)
The location of the input data.-
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 Detail
-
dataSource
LabelingJobInputConfig.Builder dataSource(LabelingJobDataSource dataSource)
The location of the input data.
- Parameters:
dataSource
- The location of the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default LabelingJobInputConfig.Builder dataSource(Consumer<LabelingJobDataSource.Builder> dataSource)
The location of the input data.
This is a convenience method that creates an instance of theLabelingJobDataSource.Builder
avoiding the need to create one manually viaLabelingJobDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSource(LabelingJobDataSource)
.- Parameters:
dataSource
- a consumer that will call methods onLabelingJobDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSource(LabelingJobDataSource)
-
dataAttributes
LabelingJobInputConfig.Builder dataAttributes(LabelingJobDataAttributes dataAttributes)
Attributes of the data specified by the customer.
- Parameters:
dataAttributes
- Attributes of the data specified by the customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAttributes
default LabelingJobInputConfig.Builder dataAttributes(Consumer<LabelingJobDataAttributes.Builder> dataAttributes)
Attributes of the data specified by the customer.
This is a convenience method that creates an instance of theLabelingJobDataAttributes.Builder
avoiding the need to create one manually viaLabelingJobDataAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataAttributes(LabelingJobDataAttributes)
.- Parameters:
dataAttributes
- a consumer that will call methods onLabelingJobDataAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataAttributes(LabelingJobDataAttributes)
-
-