Class GuardrailReference.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.GuardrailReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardrailReference>
- Enclosing interface:
GuardrailReference
@Stability(Stable)
public static final class GuardrailReference.Builder
extends Object
implements software.amazon.jsii.Builder<GuardrailReference>
A builder for
GuardrailReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.guardrailArn
(String guardrailArn) Sets the value ofGuardrailReference.getGuardrailArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
guardrailArn
Sets the value ofGuardrailReference.getGuardrailArn()
- Parameters:
guardrailArn
- The GuardrailArn of the Guardrail resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GuardrailReference>
- Returns:
- a new instance of
GuardrailReference
- Throws:
NullPointerException
- if any required attribute was not provided
-