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 action placed on the content by the Guardrail filter.action(GuardrailContentPolicyAction action) The action placed on the content by the Guardrail filter.confidence(String confidence) The confidence level regarding the content detected in the filter by the Guardrail.confidence(GuardrailContentFilterConfidence confidence) The confidence level regarding the content detected in the filter by the Guardrail.The type of content detected in the filter by the Guardrail.The type of content detected in the filter by the 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
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-