Interface DatasetSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetSource.Builder,
,DatasetSource> SdkBuilder<DatasetSource.Builder,
,DatasetSource> SdkPojo
- Enclosing class:
DatasetSource
public static interface DatasetSource.Builder
extends SdkPojo, CopyableBuilder<DatasetSource.Builder,DatasetSource>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetArn
(String datasetArn) The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.default DatasetSource.Builder
groundTruthManifest
(Consumer<GroundTruthManifest.Builder> groundTruthManifest) Sets the value of the GroundTruthManifest property for this object.groundTruthManifest
(GroundTruthManifest groundTruthManifest) Sets the value of the GroundTruthManifest property for this object.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
-
groundTruthManifest
Sets the value of the GroundTruthManifest property for this object.- Parameters:
groundTruthManifest
- The new value for the GroundTruthManifest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundTruthManifest
default DatasetSource.Builder groundTruthManifest(Consumer<GroundTruthManifest.Builder> groundTruthManifest) Sets the value of the GroundTruthManifest property for this object. This is a convenience method that creates an instance of theGroundTruthManifest.Builder
avoiding the need to create one manually viaGroundTruthManifest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroundTruthManifest(GroundTruthManifest)
.- Parameters:
groundTruthManifest
- a consumer that will call methods onGroundTruthManifest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetArn
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
- Parameters:
datasetArn
- The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-