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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
sourceAlgorithmsA 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.
 
- 
sourceAlgorithmsA 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.
 
- 
sourceAlgorithmsSourceAlgorithmSpecification.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 on- SourceAlgorithm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-