Interface SourceAlgorithmSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SourceAlgorithmSpecification.Builder,SourceAlgorithmSpecification>,SdkBuilder<SourceAlgorithmSpecification.Builder,SourceAlgorithmSpecification>,SdkPojo
- Enclosing class:
- SourceAlgorithmSpecification
@Mutable @NotThreadSafe public static interface SourceAlgorithmSpecification.Builder extends SdkPojo, CopyableBuilder<SourceAlgorithmSpecification.Builder,SourceAlgorithmSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceAlgorithmSpecification.BuildersourceAlgorithms(Collection<SourceAlgorithm> sourceAlgorithms)A list of the algorithms that were used to create a model package.SourceAlgorithmSpecification.BuildersourceAlgorithms(Consumer<SourceAlgorithm.Builder>... sourceAlgorithms)A list of the algorithms that were used to create a model package.SourceAlgorithmSpecification.BuildersourceAlgorithms(SourceAlgorithm... sourceAlgorithms)A list of the algorithms that were used to create a model package.-
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
-
sourceAlgorithms
SourceAlgorithmSpecification.Builder sourceAlgorithms(Collection<SourceAlgorithm> sourceAlgorithms)
A list of the algorithms that were used to create a model package.
- Parameters:
sourceAlgorithms- A list of the algorithms that were used to create a model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAlgorithms
SourceAlgorithmSpecification.Builder sourceAlgorithms(SourceAlgorithm... sourceAlgorithms)
A list of the algorithms that were used to create a model package.
- Parameters:
sourceAlgorithms- A list of the algorithms that were used to create a model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAlgorithms
SourceAlgorithmSpecification.Builder sourceAlgorithms(Consumer<SourceAlgorithm.Builder>... sourceAlgorithms)
A list of the algorithms that were used to create a model package.
This is a convenience method that creates an instance of theSourceAlgorithm.Builderavoiding the need to create one manually viaSourceAlgorithm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceAlgorithms(List.) - Parameters:
sourceAlgorithms- a consumer that will call methods onSourceAlgorithm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sourceAlgorithms(java.util.Collection)
-
-