Interface TestingData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestingData.Builder,
,TestingData> SdkBuilder<TestingData.Builder,
,TestingData> SdkPojo
- Enclosing class:
TestingData
public static interface TestingData.Builder
extends SdkPojo, CopyableBuilder<TestingData.Builder,TestingData>
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<Asset> assets) The assets used for testing.assets
(Consumer<Asset.Builder>... assets) The assets used for testing.The assets used for testing.autoCreate
(Boolean autoCreate) If specified, Rekognition splits training dataset to create a test dataset for the training job.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
-
assets
The assets used for testing.
- Parameters:
assets
- The assets used for testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets used for testing.
- Parameters:
assets
- The assets used for testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets used for testing.
This is a convenience method that creates an instance of theAsset.Builder
avoiding the need to create one manually viaAsset.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassets(List<Asset>)
.- Parameters:
assets
- a consumer that will call methods onAsset.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoCreate
If specified, Rekognition splits training dataset to create a test dataset for the training job.
- Parameters:
autoCreate
- If specified, Rekognition splits training dataset to create a test dataset for the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-