Interface GuardrailContentFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailContentFilter.Builder,,GuardrailContentFilter> SdkBuilder<GuardrailContentFilter.Builder,,GuardrailContentFilter> SdkPojo
- Enclosing class:
- GuardrailContentFilter
@Mutable
@NotThreadSafe
public static interface GuardrailContentFilter.Builder
extends SdkPojo, CopyableBuilder<GuardrailContentFilter.Builder,GuardrailContentFilter>
-
Method Summary
Modifier and TypeMethodDescriptionThe guardrail action.action(GuardrailContentPolicyAction action) The guardrail action.confidence(String confidence) The guardrail confidence.confidence(GuardrailContentFilterConfidence confidence) The guardrail confidence.Indicates whether content that breaches the guardrail configuration is detected.filterStrength(String filterStrength) The filter strength setting for the guardrail content filter.filterStrength(GuardrailContentFilterStrength filterStrength) The filter strength setting for the guardrail content filter.The guardrail type.The guardrail type.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
-
type
The guardrail type.
- Parameters:
type- The guardrail type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The guardrail type.
- Parameters:
type- The guardrail type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The guardrail confidence.
- Parameters:
confidence- The guardrail confidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The guardrail confidence.
- Parameters:
confidence- The guardrail confidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterStrength
The filter strength setting for the guardrail content filter.
- Parameters:
filterStrength- The filter strength setting for the guardrail content filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterStrength
The filter strength setting for the guardrail content filter.
- Parameters:
filterStrength- The filter strength setting for the guardrail content filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The guardrail action.
- Parameters:
action- The guardrail action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The guardrail action.
- Parameters:
action- The guardrail action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detected
Indicates whether content that breaches the guardrail configuration is detected.
- Parameters:
detected- Indicates whether content that breaches the guardrail configuration is detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-