Interface GuardrailContextualGroundingFilterConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailContextualGroundingFilterConfig.Builder,GuardrailContextualGroundingFilterConfig>,SdkBuilder<GuardrailContextualGroundingFilterConfig.Builder,GuardrailContextualGroundingFilterConfig>,SdkPojo
- Enclosing class:
- GuardrailContextualGroundingFilterConfig
public static interface GuardrailContextualGroundingFilterConfig.Builder extends SdkPojo, CopyableBuilder<GuardrailContextualGroundingFilterConfig.Builder,GuardrailContextualGroundingFilterConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailContextualGroundingFilterConfig.Builderthreshold(Double threshold)The threshold details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterConfig.Buildertype(String type)The filter details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterConfig.Buildertype(GuardrailContextualGroundingFilterType type)The filter details for the guardrails contextual grounding filter.-
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, sdkFields
-
-
-
-
Method Detail
-
type
GuardrailContextualGroundingFilterConfig.Builder type(String type)
The filter details for the guardrails contextual grounding filter.
- Parameters:
type- The filter details for the guardrails contextual grounding filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailContextualGroundingFilterType,GuardrailContextualGroundingFilterType
-
type
GuardrailContextualGroundingFilterConfig.Builder type(GuardrailContextualGroundingFilterType type)
The filter details for the guardrails contextual grounding filter.
- Parameters:
type- The filter details for the guardrails contextual grounding filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailContextualGroundingFilterType,GuardrailContextualGroundingFilterType
-
threshold
GuardrailContextualGroundingFilterConfig.Builder threshold(Double threshold)
The threshold details for the guardrails contextual grounding filter.
- Parameters:
threshold- The threshold details for the guardrails contextual grounding filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-