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