Interface GuardrailAutomatedReasoningImpossibleFinding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailAutomatedReasoningImpossibleFinding.Builder,
,GuardrailAutomatedReasoningImpossibleFinding> SdkBuilder<GuardrailAutomatedReasoningImpossibleFinding.Builder,
,GuardrailAutomatedReasoningImpossibleFinding> SdkPojo
- Enclosing class:
GuardrailAutomatedReasoningImpossibleFinding
-
Method Summary
Modifier and TypeMethodDescriptioncontradictingRules
(Collection<GuardrailAutomatedReasoningRule> contradictingRules) The automated reasoning policy rules that contradict the claims and/or premises in the input.contradictingRules
(Consumer<GuardrailAutomatedReasoningRule.Builder>... contradictingRules) The automated reasoning policy rules that contradict the claims and/or premises in the input.contradictingRules
(GuardrailAutomatedReasoningRule... contradictingRules) The automated reasoning policy rules that contradict the claims and/or premises in the input.logicWarning
(Consumer<GuardrailAutomatedReasoningLogicWarning.Builder> logicWarning) Indication of a logic issue with the translation without needing to consider the automated reasoning policy rules.logicWarning
(GuardrailAutomatedReasoningLogicWarning logicWarning) Indication of a logic issue with the translation without needing to consider the automated reasoning policy rules.The logical translation of the input that this finding evaluates.translation
(GuardrailAutomatedReasoningTranslation translation) The logical translation of the input that this finding evaluates.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 Details
-
translation
GuardrailAutomatedReasoningImpossibleFinding.Builder translation(GuardrailAutomatedReasoningTranslation translation) The logical translation of the input that this finding evaluates.
- Parameters:
translation
- The logical translation of the input that this finding evaluates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
translation
default GuardrailAutomatedReasoningImpossibleFinding.Builder translation(Consumer<GuardrailAutomatedReasoningTranslation.Builder> translation) The logical translation of the input that this finding evaluates.
This is a convenience method that creates an instance of theGuardrailAutomatedReasoningTranslation.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningTranslation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totranslation(GuardrailAutomatedReasoningTranslation)
.- Parameters:
translation
- a consumer that will call methods onGuardrailAutomatedReasoningTranslation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contradictingRules
GuardrailAutomatedReasoningImpossibleFinding.Builder contradictingRules(Collection<GuardrailAutomatedReasoningRule> contradictingRules) The automated reasoning policy rules that contradict the claims and/or premises in the input.
- Parameters:
contradictingRules
- The automated reasoning policy rules that contradict the claims and/or premises in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contradictingRules
GuardrailAutomatedReasoningImpossibleFinding.Builder contradictingRules(GuardrailAutomatedReasoningRule... contradictingRules) The automated reasoning policy rules that contradict the claims and/or premises in the input.
- Parameters:
contradictingRules
- The automated reasoning policy rules that contradict the claims and/or premises in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contradictingRules
GuardrailAutomatedReasoningImpossibleFinding.Builder contradictingRules(Consumer<GuardrailAutomatedReasoningRule.Builder>... contradictingRules) The automated reasoning policy rules that contradict the claims and/or premises in the input.
This is a convenience method that creates an instance of theGuardrailAutomatedReasoningRule.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontradictingRules(List<GuardrailAutomatedReasoningRule>)
.- Parameters:
contradictingRules
- a consumer that will call methods onGuardrailAutomatedReasoningRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logicWarning
GuardrailAutomatedReasoningImpossibleFinding.Builder logicWarning(GuardrailAutomatedReasoningLogicWarning logicWarning) Indication of a logic issue with the translation without needing to consider the automated reasoning policy rules.
- Parameters:
logicWarning
- Indication of a logic issue with the translation without needing to consider the automated reasoning policy rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicWarning
default GuardrailAutomatedReasoningImpossibleFinding.Builder logicWarning(Consumer<GuardrailAutomatedReasoningLogicWarning.Builder> logicWarning) Indication of a logic issue with the translation without needing to consider the automated reasoning policy rules.
This is a convenience method that creates an instance of theGuardrailAutomatedReasoningLogicWarning.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningLogicWarning.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologicWarning(GuardrailAutomatedReasoningLogicWarning)
.- Parameters:
logicWarning
- a consumer that will call methods onGuardrailAutomatedReasoningLogicWarning.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-