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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetSource.BuilderdatasetArn(String datasetArn)The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.default DatasetSource.BuildergroundTruthManifest(Consumer<GroundTruthManifest.Builder> groundTruthManifest)Sets the value of the GroundTruthManifest property for this object.DatasetSource.BuildergroundTruthManifest(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 Detail
-
groundTruthManifest
DatasetSource.Builder groundTruthManifest(GroundTruthManifest 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.Builderavoiding the need to create one manually viaGroundTruthManifest.builder().When the
Consumercompletes,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:
groundTruthManifest(GroundTruthManifest)
-
datasetArn
DatasetSource.Builder datasetArn(String 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.
-
-