Class CfnGuardrailVersion.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnGuardrailVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardrailVersion>
- Enclosing class:
CfnGuardrailVersion
@Stability(Stable)
public static final class CfnGuardrailVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardrailVersion>
A fluent builder for
CfnGuardrailVersion.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnGuardrailVersion.Builderdescription(String description) A description of the guardrail version.guardrailIdentifier(String guardrailIdentifier) The unique identifier of the guardrail.
-
Method Details
-
create
@Stability(Stable) public static CfnGuardrailVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGuardrailVersion.Builder.
-
guardrailIdentifier
@Stability(Stable) public CfnGuardrailVersion.Builder guardrailIdentifier(String guardrailIdentifier) The unique identifier of the guardrail.This can be an ID or the ARN.
- Parameters:
guardrailIdentifier- The unique identifier of the guardrail. This parameter is required.- Returns:
this- See Also:
-
description
A description of the guardrail version.- Parameters:
description- A description of the guardrail version. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGuardrailVersion>- Returns:
- a newly built instance of
CfnGuardrailVersion.
-