Interface GuardrailAutomatedReasoningInvalidFinding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailAutomatedReasoningInvalidFinding.Builder,
,GuardrailAutomatedReasoningInvalidFinding> SdkBuilder<GuardrailAutomatedReasoningInvalidFinding.Builder,
,GuardrailAutomatedReasoningInvalidFinding> SdkPojo
- Enclosing class:
GuardrailAutomatedReasoningInvalidFinding
-
Method Summary
Modifier and TypeMethodDescriptioncontradictingRules
(Collection<GuardrailAutomatedReasoningRule> contradictingRules) The automated reasoning policy rules that contradict the claims in the input.contradictingRules
(Consumer<GuardrailAutomatedReasoningRule.Builder>... contradictingRules) The automated reasoning policy rules that contradict the claims in the input.contradictingRules
(GuardrailAutomatedReasoningRule... contradictingRules) The automated reasoning policy rules that contradict the claims 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 invalidates.translation
(GuardrailAutomatedReasoningTranslation translation) The logical translation of the input that this finding invalidates.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
GuardrailAutomatedReasoningInvalidFinding.Builder translation(GuardrailAutomatedReasoningTranslation translation) The logical translation of the input that this finding invalidates.
- Parameters:
translation
- The logical translation of the input that this finding invalidates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
translation
default GuardrailAutomatedReasoningInvalidFinding.Builder translation(Consumer<GuardrailAutomatedReasoningTranslation.Builder> translation) The logical translation of the input that this finding invalidates.
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
GuardrailAutomatedReasoningInvalidFinding.Builder contradictingRules(Collection<GuardrailAutomatedReasoningRule> contradictingRules) The automated reasoning policy rules that contradict the claims in the input.
- Parameters:
contradictingRules
- The automated reasoning policy rules that contradict the claims in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contradictingRules
GuardrailAutomatedReasoningInvalidFinding.Builder contradictingRules(GuardrailAutomatedReasoningRule... contradictingRules) The automated reasoning policy rules that contradict the claims in the input.
- Parameters:
contradictingRules
- The automated reasoning policy rules that contradict the claims in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contradictingRules
GuardrailAutomatedReasoningInvalidFinding.Builder contradictingRules(Consumer<GuardrailAutomatedReasoningRule.Builder>... contradictingRules) The automated reasoning policy rules that contradict the claims 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
GuardrailAutomatedReasoningInvalidFinding.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 GuardrailAutomatedReasoningInvalidFinding.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:
-