Class CfnApplicationInferenceProfile.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnApplicationInferenceProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationInferenceProfile>
- Enclosing class:
CfnApplicationInferenceProfile
@Stability(Stable)
public static final class CfnApplicationInferenceProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationInferenceProfile>
A fluent builder for
CfnApplicationInferenceProfile.-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) Description of the inference profile.inferenceProfileName(String inferenceProfileName) modelSource(IResolvable modelSource) Various ways to encode a list of models in a CreateInferenceProfile request.Various ways to encode a list of models in a CreateInferenceProfile request.List of Tags.
-
Method Details
-
create
@Stability(Stable) public static CfnApplicationInferenceProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApplicationInferenceProfile.Builder.
-
inferenceProfileName
@Stability(Stable) public CfnApplicationInferenceProfile.Builder inferenceProfileName(String inferenceProfileName) - Parameters:
inferenceProfileName- This parameter is required.- Returns:
this- See Also:
-
description
Description of the inference profile.- Parameters:
description- Description of the inference profile. This parameter is required.- Returns:
this- See Also:
-
modelSource
@Stability(Stable) public CfnApplicationInferenceProfile.Builder modelSource(IResolvable modelSource) Various ways to encode a list of models in a CreateInferenceProfile request.- Parameters:
modelSource- Various ways to encode a list of models in a CreateInferenceProfile request. This parameter is required.- Returns:
this- See Also:
-
modelSource
@Stability(Stable) public CfnApplicationInferenceProfile.Builder modelSource(CfnApplicationInferenceProfile.InferenceProfileModelSourceProperty modelSource) Various ways to encode a list of models in a CreateInferenceProfile request.- Parameters:
modelSource- Various ways to encode a list of models in a CreateInferenceProfile request. This parameter is required.- Returns:
this- See Also:
-
tags
List of Tags.- Parameters:
tags- List of Tags. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationInferenceProfile>- Returns:
- a newly built instance of
CfnApplicationInferenceProfile.
-