Interface GuardrailContentFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailContentFilter.Builder,GuardrailContentFilter>,SdkBuilder<GuardrailContentFilter.Builder,GuardrailContentFilter>,SdkPojo
- Enclosing class:
- GuardrailContentFilter
public static interface GuardrailContentFilter.Builder extends SdkPojo, CopyableBuilder<GuardrailContentFilter.Builder,GuardrailContentFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailContentFilter.Builderaction(String action)The guardrail action.GuardrailContentFilter.Builderaction(GuardrailContentPolicyAction action)The guardrail action.GuardrailContentFilter.Builderconfidence(String confidence)The guardrail confidence.GuardrailContentFilter.Builderconfidence(GuardrailContentFilterConfidence confidence)The guardrail confidence.GuardrailContentFilter.BuilderfilterStrength(String filterStrength)The filter strength setting for the guardrail content filter.GuardrailContentFilter.BuilderfilterStrength(GuardrailContentFilterStrength filterStrength)The filter strength setting for the guardrail content filter.GuardrailContentFilter.Buildertype(String type)The guardrail type.GuardrailContentFilter.Buildertype(GuardrailContentFilterType type)The guardrail type.-
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
-
-