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
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
GuardrailContentFilter.Builder type(String 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:
GuardrailContentFilterType,GuardrailContentFilterType
-
type
GuardrailContentFilter.Builder type(GuardrailContentFilterType 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:
GuardrailContentFilterType,GuardrailContentFilterType
-
confidence
GuardrailContentFilter.Builder confidence(String 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:
GuardrailContentFilterConfidence,GuardrailContentFilterConfidence
-
confidence
GuardrailContentFilter.Builder confidence(GuardrailContentFilterConfidence 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:
GuardrailContentFilterConfidence,GuardrailContentFilterConfidence
-
filterStrength
GuardrailContentFilter.Builder filterStrength(String 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:
GuardrailContentFilterStrength,GuardrailContentFilterStrength
-
filterStrength
GuardrailContentFilter.Builder filterStrength(GuardrailContentFilterStrength 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:
GuardrailContentFilterStrength,GuardrailContentFilterStrength
-
action
GuardrailContentFilter.Builder action(String 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:
GuardrailContentPolicyAction,GuardrailContentPolicyAction
-
action
GuardrailContentFilter.Builder action(GuardrailContentPolicyAction 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:
GuardrailContentPolicyAction,GuardrailContentPolicyAction
-
detected
GuardrailContentFilter.Builder detected(Boolean 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.
-
-