Class AlgorithmReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.sagemaker.AlgorithmReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlgorithmReference>
- Enclosing interface:
AlgorithmReference
@Stability(Stable)
public static final class AlgorithmReference.Builder
extends Object
implements software.amazon.jsii.Builder<AlgorithmReference>
A builder for
AlgorithmReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithmArn(String algorithmArn) Sets the value ofAlgorithmReference.getAlgorithmArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithmArn
Sets the value ofAlgorithmReference.getAlgorithmArn()- Parameters:
algorithmArn- The AlgorithmArn of the Algorithm resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlgorithmReference>- Returns:
- a new instance of
AlgorithmReference - Throws:
NullPointerException- if any required attribute was not provided
-