Interface BedrockGuardrailResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockGuardrailResource.Builder,,BedrockGuardrailResource> SdkBuilder<BedrockGuardrailResource.Builder,,BedrockGuardrailResource> SdkPojo
- Enclosing class:
BedrockGuardrailResource
@Mutable
@NotThreadSafe
public static interface BedrockGuardrailResource.Builder
extends SdkPojo, CopyableBuilder<BedrockGuardrailResource.Builder,BedrockGuardrailResource>
-
Method Summary
Modifier and TypeMethodDescriptionguardrailAction(String guardrailAction) Indicates whether the guardrail intervened during the model invocation.guardrailAction(GuardrailAction guardrailAction) Indicates whether the guardrail intervened during the model invocation.guardrailSource(String guardrailSource) Indicates whether the guardrail was applied on the input or output of the model invocation.guardrailSource(GuardrailSource guardrailSource) Indicates whether the guardrail was applied on the input or output of the model invocation.The version of the Amazon Bedrock guardrail.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
version
The version of the Amazon Bedrock guardrail. Valid values are a numeric version,
DRAFT, orENFORCED.- Parameters:
version- The version of the Amazon Bedrock guardrail. Valid values are a numeric version,DRAFT, orENFORCED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailAction
Indicates whether the guardrail intervened during the model invocation.
- Parameters:
guardrailAction- Indicates whether the guardrail intervened during the model invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guardrailAction
Indicates whether the guardrail intervened during the model invocation.
- Parameters:
guardrailAction- Indicates whether the guardrail intervened during the model invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guardrailSource
Indicates whether the guardrail was applied on the input or output of the model invocation.
- Parameters:
guardrailSource- Indicates whether the guardrail was applied on the input or output of the model invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guardrailSource
Indicates whether the guardrail was applied on the input or output of the model invocation.
- Parameters:
guardrailSource- Indicates whether the guardrail was applied on the input or output of the model invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-