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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestingData.Builderassets(Collection<Asset> assets)The assets used for testing.TestingData.Builderassets(Consumer<Asset.Builder>... assets)The assets used for testing.TestingData.Builderassets(Asset... assets)The assets used for testing.TestingData.BuilderautoCreate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
assets
TestingData.Builder assets(Collection<Asset> 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
TestingData.Builder assets(Asset... 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
TestingData.Builder assets(Consumer<Asset.Builder>... assets)
The assets used for testing.
This is a convenience method that creates an instance of theAsset.Builderavoiding the need to create one manually viaAsset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assets(List.) - 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:
#assets(java.util.Collection)
-
autoCreate
TestingData.Builder autoCreate(Boolean 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.
-
-