Interface GuardrailAutomatedReasoningValidFinding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailAutomatedReasoningValidFinding.Builder,
,GuardrailAutomatedReasoningValidFinding> SdkBuilder<GuardrailAutomatedReasoningValidFinding.Builder,
,GuardrailAutomatedReasoningValidFinding> SdkPojo
- Enclosing class:
GuardrailAutomatedReasoningValidFinding
-
Method Summary
Modifier and TypeMethodDescriptionclaimsTrueScenario
(Consumer<GuardrailAutomatedReasoningScenario.Builder> claimsTrueScenario) An example scenario demonstrating how the claims are logically true.claimsTrueScenario
(GuardrailAutomatedReasoningScenario claimsTrueScenario) An example scenario demonstrating how the claims are logically true.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.supportingRules
(Collection<GuardrailAutomatedReasoningRule> supportingRules) The automated reasoning policy rules that support why this result is considered valid.supportingRules
(Consumer<GuardrailAutomatedReasoningRule.Builder>... supportingRules) The automated reasoning policy rules that support why this result is considered valid.supportingRules
(GuardrailAutomatedReasoningRule... supportingRules) The automated reasoning policy rules that support why this result is considered valid.The logical translation of the input that this finding validates.translation
(GuardrailAutomatedReasoningTranslation translation) The logical translation of the input that this finding validates.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
GuardrailAutomatedReasoningValidFinding.Builder translation(GuardrailAutomatedReasoningTranslation translation) The logical translation of the input that this finding validates.
- Parameters:
translation
- The logical translation of the input that this finding validates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
translation
default GuardrailAutomatedReasoningValidFinding.Builder translation(Consumer<GuardrailAutomatedReasoningTranslation.Builder> translation) The logical translation of the input that this finding validates.
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:
-
claimsTrueScenario
GuardrailAutomatedReasoningValidFinding.Builder claimsTrueScenario(GuardrailAutomatedReasoningScenario claimsTrueScenario) An example scenario demonstrating how the claims are logically true.
- Parameters:
claimsTrueScenario
- An example scenario demonstrating how the claims are logically true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claimsTrueScenario
default GuardrailAutomatedReasoningValidFinding.Builder claimsTrueScenario(Consumer<GuardrailAutomatedReasoningScenario.Builder> claimsTrueScenario) An example scenario demonstrating how the claims are logically true.
This is a convenience method that creates an instance of theGuardrailAutomatedReasoningScenario.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningScenario.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclaimsTrueScenario(GuardrailAutomatedReasoningScenario)
.- Parameters:
claimsTrueScenario
- a consumer that will call methods onGuardrailAutomatedReasoningScenario.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportingRules
GuardrailAutomatedReasoningValidFinding.Builder supportingRules(Collection<GuardrailAutomatedReasoningRule> supportingRules) The automated reasoning policy rules that support why this result is considered valid.
- Parameters:
supportingRules
- The automated reasoning policy rules that support why this result is considered valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportingRules
GuardrailAutomatedReasoningValidFinding.Builder supportingRules(GuardrailAutomatedReasoningRule... supportingRules) The automated reasoning policy rules that support why this result is considered valid.
- Parameters:
supportingRules
- The automated reasoning policy rules that support why this result is considered valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportingRules
GuardrailAutomatedReasoningValidFinding.Builder supportingRules(Consumer<GuardrailAutomatedReasoningRule.Builder>... supportingRules) The automated reasoning policy rules that support why this result is considered valid.
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 tosupportingRules(List<GuardrailAutomatedReasoningRule>)
.- Parameters:
supportingRules
- 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
GuardrailAutomatedReasoningValidFinding.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 GuardrailAutomatedReasoningValidFinding.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:
-