Interface GuardrailAutomatedReasoningSatisfiableFinding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailAutomatedReasoningSatisfiableFinding.Builder,,GuardrailAutomatedReasoningSatisfiableFinding> SdkBuilder<GuardrailAutomatedReasoningSatisfiableFinding.Builder,,GuardrailAutomatedReasoningSatisfiableFinding> SdkPojo
- Enclosing class:
GuardrailAutomatedReasoningSatisfiableFinding
-
Method Summary
Modifier and TypeMethodDescriptionclaimsFalseScenario(Consumer<GuardrailAutomatedReasoningScenario.Builder> claimsFalseScenario) An example scenario demonstrating how the claims could be logically false.claimsFalseScenario(GuardrailAutomatedReasoningScenario claimsFalseScenario) An example scenario demonstrating how the claims could be logically false.claimsTrueScenario(Consumer<GuardrailAutomatedReasoningScenario.Builder> claimsTrueScenario) An example scenario demonstrating how the claims could be logically true.claimsTrueScenario(GuardrailAutomatedReasoningScenario claimsTrueScenario) An example scenario demonstrating how the claims could be 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.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
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
-
translation
GuardrailAutomatedReasoningSatisfiableFinding.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 GuardrailAutomatedReasoningSatisfiableFinding.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.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningTranslation.builder().When the
Consumercompletes,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
GuardrailAutomatedReasoningSatisfiableFinding.Builder claimsTrueScenario(GuardrailAutomatedReasoningScenario claimsTrueScenario) An example scenario demonstrating how the claims could be logically true.
- Parameters:
claimsTrueScenario- An example scenario demonstrating how the claims could be logically true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claimsTrueScenario
default GuardrailAutomatedReasoningSatisfiableFinding.Builder claimsTrueScenario(Consumer<GuardrailAutomatedReasoningScenario.Builder> claimsTrueScenario) An example scenario demonstrating how the claims could be logically true.
This is a convenience method that creates an instance of theGuardrailAutomatedReasoningScenario.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningScenario.builder().When the
Consumercompletes,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:
-
claimsFalseScenario
GuardrailAutomatedReasoningSatisfiableFinding.Builder claimsFalseScenario(GuardrailAutomatedReasoningScenario claimsFalseScenario) An example scenario demonstrating how the claims could be logically false.
- Parameters:
claimsFalseScenario- An example scenario demonstrating how the claims could be logically false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claimsFalseScenario
default GuardrailAutomatedReasoningSatisfiableFinding.Builder claimsFalseScenario(Consumer<GuardrailAutomatedReasoningScenario.Builder> claimsFalseScenario) An example scenario demonstrating how the claims could be logically false.
This is a convenience method that creates an instance of theGuardrailAutomatedReasoningScenario.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningScenario.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclaimsFalseScenario(GuardrailAutomatedReasoningScenario).- Parameters:
claimsFalseScenario- 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:
-
logicWarning
GuardrailAutomatedReasoningSatisfiableFinding.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 GuardrailAutomatedReasoningSatisfiableFinding.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.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningLogicWarning.builder().When the
Consumercompletes,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:
-