Class GuardrailCrossRegionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.GuardrailCrossRegionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardrailCrossRegionConfigProperty>
- Enclosing interface:
GuardrailCrossRegionConfigProperty
@Stability(Experimental)
public static final class GuardrailCrossRegionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<GuardrailCrossRegionConfigProperty>
A builder for
GuardrailCrossRegionConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.guardrailProfileArn
(String guardrailProfileArn) Sets the value ofGuardrailCrossRegionConfigProperty.getGuardrailProfileArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
guardrailProfileArn
@Stability(Experimental) public GuardrailCrossRegionConfigProperty.Builder guardrailProfileArn(String guardrailProfileArn) Sets the value ofGuardrailCrossRegionConfigProperty.getGuardrailProfileArn()
- Parameters:
guardrailProfileArn
- The arn of thesystem-defined guardrail profile that you're using with your guardrail. This parameter is required. Guardrail profiles define the destination AWS Regions where guardrail inference requests can be automatically routed. Using guardrail profiles helps maintain guardrail performance and reliability when demand increases.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GuardrailCrossRegionConfigProperty>
- Returns:
- a new instance of
GuardrailCrossRegionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-