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
Modifier and TypeMethodDescriptiondefault LabelingJobInputConfig.Builder
dataAttributes
(Consumer<LabelingJobDataAttributes.Builder> dataAttributes) Attributes of the data specified by the customer.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.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 Details
-
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:
-
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:
-