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