Interface TrainingData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrainingData.Builder,,TrainingData> SdkBuilder<TrainingData.Builder,,TrainingData> SdkPojo
- Enclosing class:
TrainingData
public static interface TrainingData.Builder
extends SdkPojo, CopyableBuilder<TrainingData.Builder,TrainingData>
-
Method Summary
Modifier and TypeMethodDescriptionassets(Collection<Asset> assets) A manifest file that contains references to the training images and ground-truth annotations.assets(Consumer<Asset.Builder>... assets) A manifest file that contains references to the training images and ground-truth annotations.A manifest file that contains references to the training images and ground-truth annotations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assets
A manifest file that contains references to the training images and ground-truth annotations.
- Parameters:
assets- A manifest file that contains references to the training images and ground-truth annotations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
A manifest file that contains references to the training images and ground-truth annotations.
- Parameters:
assets- A manifest file that contains references to the training images and ground-truth annotations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
A manifest file that contains references to the training images and ground-truth annotations.
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 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:
-