public static interface SourceAlgorithmSpecification.Builder extends SdkPojo, CopyableBuilder<SourceAlgorithmSpecification.Builder,SourceAlgorithmSpecification>
Modifier and Type | Method and Description |
---|---|
SourceAlgorithmSpecification.Builder |
sourceAlgorithms(Collection<SourceAlgorithm> sourceAlgorithms)
A list of the algorithms that were used to create a model package.
|
SourceAlgorithmSpecification.Builder |
sourceAlgorithms(Consumer<SourceAlgorithm.Builder>... sourceAlgorithms)
A list of the algorithms that were used to create a model package.
|
SourceAlgorithmSpecification.Builder |
sourceAlgorithms(SourceAlgorithm... sourceAlgorithms)
A list of the algorithms that were used to create a model package.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SourceAlgorithmSpecification.Builder sourceAlgorithms(Collection<SourceAlgorithm> sourceAlgorithms)
A list of the algorithms that were used to create a model package.
sourceAlgorithms
- A list of the algorithms that were used to create a model package.SourceAlgorithmSpecification.Builder sourceAlgorithms(SourceAlgorithm... sourceAlgorithms)
A list of the algorithms that were used to create a model package.
sourceAlgorithms
- A list of the algorithms that were used to create a model package.SourceAlgorithmSpecification.Builder sourceAlgorithms(Consumer<SourceAlgorithm.Builder>... sourceAlgorithms)
A list of the algorithms that were used to create a model package.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #sourceAlgorithms(List)
.sourceAlgorithms
- a consumer that will call methods on List.Builder
#sourceAlgorithms(List)
Copyright © 2020. All rights reserved.