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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrainingData.Builderassets(Collection<Asset> assets)A manifest file that contains references to the training images and ground-truth annotations.TrainingData.Builderassets(Consumer<Asset.Builder>... assets)A manifest file that contains references to the training images and ground-truth annotations.TrainingData.Builderassets(Asset... assets)A manifest file that contains references to the training images and ground-truth annotations.-
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
-
assets
TrainingData.Builder assets(Collection<Asset> 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
TrainingData.Builder assets(Asset... 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
TrainingData.Builder assets(Consumer<Asset.Builder>... 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 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)
-
-