Class CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty>
- Enclosing interface:
CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty
@Stability(Stable)
public static final class CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.guardrailProfileArn(String guardrailProfileArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
guardrailProfileArn
@Stability(Stable) public CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty.Builder guardrailProfileArn(String guardrailProfileArn) Sets the value ofCfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty.getGuardrailProfileArn()- Parameters:
guardrailProfileArn- The Amazon Resource Name (ARN) of the guardrail profile that your guardrail is using. Guardrail profile availability depends on your current AWS Region . For more information, see the Amazon Bedrock User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty>- Returns:
- a new instance of
CfnGuardrailPropsMixin.GuardrailCrossRegionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-