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