Class CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty>
- Enclosing interface:
CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty
@Stability(Stable)
public static final class CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyFrom
@Stability(Stable) public CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty.Builder copyFrom(String copyFrom) Sets the value ofCfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty.getCopyFrom()- Parameters:
copyFrom- The ARN of the model or system-defined inference profile that is the source for the inference profile.- Returns:
this
-
build
@Stability(Stable) public CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty>- Returns:
- a new instance of
CfnApplicationInferenceProfilePropsMixin.InferenceProfileModelSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-