Class ApplicationInferenceProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApplicationInferenceProfile>
- Enclosing class:
ApplicationInferenceProfile
ApplicationInferenceProfile
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationInferenceProfileName
(String applicationInferenceProfileName) (experimental) The name of the application inference profile.build()
description
(String description) (experimental) Description of the inference profile.modelSource
(IBedrockInvokable modelSource) (experimental) The model source for this inference profile.(experimental) A list of tags associated with the inference profile.
-
Method Details
-
create
@Stability(Experimental) public static ApplicationInferenceProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
ApplicationInferenceProfile.Builder
.
-
applicationInferenceProfileName
@Stability(Experimental) public ApplicationInferenceProfile.Builder applicationInferenceProfileName(String applicationInferenceProfileName) (experimental) The name of the application inference profile.This name will be used to identify the inference profile in the AWS console and APIs.
- Required: Yes
- Maximum length: 64 characters
- Pattern:
^([0-9a-zA-Z:.][ _-]?)+$
- Parameters:
applicationInferenceProfileName
- The name of the application inference profile. This parameter is required.- Returns:
this
- See Also:
-
modelSource
@Stability(Experimental) public ApplicationInferenceProfile.Builder modelSource(IBedrockInvokable modelSource) (experimental) The model source for this inference profile.To create an application inference profile for one Region, specify a foundation model. Usage and costs for requests made to that Region with that model will be tracked.
To create an application inference profile for multiple Regions, specify a cross region (system-defined) inference profile. The inference profile will route requests to the Regions defined in the cross region (system-defined) inference profile that you choose. Usage and costs for requests made to the Regions in the inference profile will be tracked.
- Parameters:
modelSource
- The model source for this inference profile. This parameter is required.- Returns:
this
-
description
(experimental) Description of the inference profile. Provides additional context about the purpose and usage of this inference profile.- Maximum length: 200 characters when provided
- Pattern:
^([0-9a-zA-Z:.][ _-]?)+$
Default: - No description is provided
- Parameters:
description
- Description of the inference profile. Provides additional context about the purpose and usage of this inference profile. This parameter is required.- Returns:
this
- See Also:
-
tags
(experimental) A list of tags associated with the inference profile.Tags help you organize and categorize your AWS resources.
Default: - No tags are applied
- Parameters:
tags
- A list of tags associated with the inference profile. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ApplicationInferenceProfile>
- Returns:
- a newly built instance of
ApplicationInferenceProfile
.
-