Class CfnApplicationInferenceProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnApplicationInferenceProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationInferenceProfileProps>
- Enclosing interface:
CfnApplicationInferenceProfileProps
@Stability(Stable)
public static final class CfnApplicationInferenceProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationInferenceProfileProps>
A builder for
CfnApplicationInferenceProfileProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnApplicationInferenceProfileProps.getDescription()
inferenceProfileName
(String inferenceProfileName) Sets the value ofCfnApplicationInferenceProfileProps.getInferenceProfileName()
modelSource
(IResolvable modelSource) Sets the value ofCfnApplicationInferenceProfileProps.getModelSource()
Sets the value ofCfnApplicationInferenceProfileProps.getModelSource()
Sets the value ofCfnApplicationInferenceProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inferenceProfileName
@Stability(Stable) public CfnApplicationInferenceProfileProps.Builder inferenceProfileName(String inferenceProfileName) Sets the value ofCfnApplicationInferenceProfileProps.getInferenceProfileName()
- Parameters:
inferenceProfileName
- The name of the inference profile. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnApplicationInferenceProfileProps.Builder description(String description) Sets the value ofCfnApplicationInferenceProfileProps.getDescription()
- Parameters:
description
- The description of the inference profile.- Returns:
this
-
modelSource
@Stability(Stable) public CfnApplicationInferenceProfileProps.Builder modelSource(IResolvable modelSource) Sets the value ofCfnApplicationInferenceProfileProps.getModelSource()
- Parameters:
modelSource
- Contains configurations for the inference profile to copy as the resource.- Returns:
this
-
modelSource
@Stability(Stable) public CfnApplicationInferenceProfileProps.Builder modelSource(CfnApplicationInferenceProfile.InferenceProfileModelSourceProperty modelSource) Sets the value ofCfnApplicationInferenceProfileProps.getModelSource()
- Parameters:
modelSource
- Contains configurations for the inference profile to copy as the resource.- Returns:
this
-
tags
@Stability(Stable) public CfnApplicationInferenceProfileProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnApplicationInferenceProfileProps.getTags()
- Parameters:
tags
- A list of tags associated with the inference profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationInferenceProfileProps>
- Returns:
- a new instance of
CfnApplicationInferenceProfileProps
- Throws:
NullPointerException
- if any required attribute was not provided
-