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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailContentFilter.Builderaction(String action)The action placed on the content by the Guardrail filter.GuardrailContentFilter.Builderaction(GuardrailContentPolicyAction action)The action placed on the content by the Guardrail filter.GuardrailContentFilter.Builderconfidence(String confidence)The confidence level regarding the content detected in the filter by the Guardrail.GuardrailContentFilter.Builderconfidence(GuardrailContentFilterConfidence confidence)The confidence level regarding the content detected in the filter by the Guardrail.GuardrailContentFilter.Buildertype(String type)The type of content detected in the filter by the Guardrail.GuardrailContentFilter.Buildertype(GuardrailContentFilterType type)The type of content detected in the filter by the Guardrail.-
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
-
action
GuardrailContentFilter.Builder action(String action)
The action placed on the content by the Guardrail filter.
- Parameters:
action- The action placed on the content by the Guardrail filter.- 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 action placed on the content by the Guardrail filter.
- Parameters:
action- The action placed on the content by the Guardrail filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailContentPolicyAction,GuardrailContentPolicyAction
-
confidence
GuardrailContentFilter.Builder confidence(String confidence)
The confidence level regarding the content detected in the filter by the Guardrail.
- Parameters:
confidence- The confidence level regarding the content detected in the filter by the Guardrail.- 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 confidence level regarding the content detected in the filter by the Guardrail.
- Parameters:
confidence- The confidence level regarding the content detected in the filter by the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailContentFilterConfidence,GuardrailContentFilterConfidence
-
type
GuardrailContentFilter.Builder type(String type)
The type of content detected in the filter by the Guardrail.
- Parameters:
type- The type of content detected in the filter by the Guardrail.- 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 type of content detected in the filter by the Guardrail.
- Parameters:
type- The type of content detected in the filter by the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailContentFilterType,GuardrailContentFilterType
-
-