Interface SourceAlgorithmSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceAlgorithmSpecification.Builder,,SourceAlgorithmSpecification> SdkBuilder<SourceAlgorithmSpecification.Builder,,SourceAlgorithmSpecification> SdkPojo
- Enclosing class:
SourceAlgorithmSpecification
public static interface SourceAlgorithmSpecification.Builder
extends SdkPojo, CopyableBuilder<SourceAlgorithmSpecification.Builder,SourceAlgorithmSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionsourceAlgorithms(Collection<SourceAlgorithm> sourceAlgorithms) A list of the algorithms that were used to create a model package.sourceAlgorithms(Consumer<SourceAlgorithm.Builder>... sourceAlgorithms) A list of the algorithms that were used to create a model package.sourceAlgorithms(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 tosourceAlgorithms(List<SourceAlgorithm>).- 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:
-