Class CfnAgentPropsMixin.GuardrailConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnAgentPropsMixin.GuardrailConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin.GuardrailConfigurationProperty>
- Enclosing interface:
CfnAgentPropsMixin.GuardrailConfigurationProperty
@Stability(Stable)
public static final class CfnAgentPropsMixin.GuardrailConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin.GuardrailConfigurationProperty>
A builder for
CfnAgentPropsMixin.GuardrailConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.guardrailIdentifier(String guardrailIdentifier) guardrailVersion(String guardrailVersion) Sets the value ofCfnAgentPropsMixin.GuardrailConfigurationProperty.getGuardrailVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
guardrailIdentifier
@Stability(Stable) public CfnAgentPropsMixin.GuardrailConfigurationProperty.Builder guardrailIdentifier(String guardrailIdentifier) - Parameters:
guardrailIdentifier- The identifier for the guardrail.- Returns:
this
-
guardrailVersion
@Stability(Stable) public CfnAgentPropsMixin.GuardrailConfigurationProperty.Builder guardrailVersion(String guardrailVersion) Sets the value ofCfnAgentPropsMixin.GuardrailConfigurationProperty.getGuardrailVersion()- Parameters:
guardrailVersion- The version of the guardrail.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin.GuardrailConfigurationProperty>- Returns:
- a new instance of
CfnAgentPropsMixin.GuardrailConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-