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