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
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 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.Builder
avoiding the need to create one manually viaSourceAlgorithm.builder()
.When the
Consumer
completes,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:
-