Class GuardrailAutomatedReasoningFinding
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockruntime.model.GuardrailAutomatedReasoningFinding
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailAutomatedReasoningFinding.Builder,GuardrailAutomatedReasoningFinding>
@Generated("software.amazon.awssdk:codegen") public final class GuardrailAutomatedReasoningFinding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailAutomatedReasoningFinding.Builder,GuardrailAutomatedReasoningFinding>
Represents a logical validation result from automated reasoning policy evaluation. The finding indicates whether claims in the input are logically valid, invalid, satisfiable, impossible, or have other logical issues.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGuardrailAutomatedReasoningFinding.Builderstatic classGuardrailAutomatedReasoningFinding.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GuardrailAutomatedReasoningFinding.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static GuardrailAutomatedReasoningFindingfromImpossible(Consumer<GuardrailAutomatedReasoningImpossibleFinding.Builder> impossible)Create an instance of this class withimpossible()initialized to the given value.static GuardrailAutomatedReasoningFindingfromImpossible(GuardrailAutomatedReasoningImpossibleFinding impossible)Create an instance of this class withimpossible()initialized to the given value.static GuardrailAutomatedReasoningFindingfromInvalid(Consumer<GuardrailAutomatedReasoningInvalidFinding.Builder> invalid)Create an instance of this class withinvalid()initialized to the given value.static GuardrailAutomatedReasoningFindingfromInvalid(GuardrailAutomatedReasoningInvalidFinding invalid)Create an instance of this class withinvalid()initialized to the given value.static GuardrailAutomatedReasoningFindingfromNoTranslations(Consumer<GuardrailAutomatedReasoningNoTranslationsFinding.Builder> noTranslations)Create an instance of this class withnoTranslations()initialized to the given value.static GuardrailAutomatedReasoningFindingfromNoTranslations(GuardrailAutomatedReasoningNoTranslationsFinding noTranslations)Create an instance of this class withnoTranslations()initialized to the given value.static GuardrailAutomatedReasoningFindingfromSatisfiable(Consumer<GuardrailAutomatedReasoningSatisfiableFinding.Builder> satisfiable)Create an instance of this class withsatisfiable()initialized to the given value.static GuardrailAutomatedReasoningFindingfromSatisfiable(GuardrailAutomatedReasoningSatisfiableFinding satisfiable)Create an instance of this class withsatisfiable()initialized to the given value.static GuardrailAutomatedReasoningFindingfromTooComplex(Consumer<GuardrailAutomatedReasoningTooComplexFinding.Builder> tooComplex)Create an instance of this class withtooComplex()initialized to the given value.static GuardrailAutomatedReasoningFindingfromTooComplex(GuardrailAutomatedReasoningTooComplexFinding tooComplex)Create an instance of this class withtooComplex()initialized to the given value.static GuardrailAutomatedReasoningFindingfromTranslationAmbiguous(Consumer<GuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder> translationAmbiguous)Create an instance of this class withtranslationAmbiguous()initialized to the given value.static GuardrailAutomatedReasoningFindingfromTranslationAmbiguous(GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous)Create an instance of this class withtranslationAmbiguous()initialized to the given value.static GuardrailAutomatedReasoningFindingfromValid(Consumer<GuardrailAutomatedReasoningValidFinding.Builder> valid)Create an instance of this class withvalid()initialized to the given value.static GuardrailAutomatedReasoningFindingfromValid(GuardrailAutomatedReasoningValidFinding valid)Create an instance of this class withvalid()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()GuardrailAutomatedReasoningImpossibleFindingimpossible()Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.GuardrailAutomatedReasoningInvalidFindinginvalid()Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.GuardrailAutomatedReasoningNoTranslationsFindingnoTranslations()Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.GuardrailAutomatedReasoningSatisfiableFindingsatisfiable()Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GuardrailAutomatedReasoningFinding.Builder>serializableBuilderClass()GuardrailAutomatedReasoningFinding.BuildertoBuilder()GuardrailAutomatedReasoningTooComplexFindingtooComplex()Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.StringtoString()Returns a string representation of this object.GuardrailAutomatedReasoningTranslationAmbiguousFindingtranslationAmbiguous()Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.GuardrailAutomatedReasoningFinding.Typetype()Retrieve an enum value representing which member of this object is populated.GuardrailAutomatedReasoningValidFindingvalid()Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
valid
public final GuardrailAutomatedReasoningValidFinding valid()
Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
- Returns:
- Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
-
invalid
public final GuardrailAutomatedReasoningInvalidFinding invalid()
Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
- Returns:
- Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
-
satisfiable
public final GuardrailAutomatedReasoningSatisfiableFinding satisfiable()
Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
- Returns:
- Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
-
impossible
public final GuardrailAutomatedReasoningImpossibleFinding impossible()
Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
- Returns:
- Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
-
translationAmbiguous
public final GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous()
Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
- Returns:
- Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
-
tooComplex
public final GuardrailAutomatedReasoningTooComplexFinding tooComplex()
Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
- Returns:
- Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
-
noTranslations
public final GuardrailAutomatedReasoningNoTranslationsFinding noTranslations()
Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
- Returns:
- Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
-
toBuilder
public GuardrailAutomatedReasoningFinding.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailAutomatedReasoningFinding.Builder,GuardrailAutomatedReasoningFinding>
-
builder
public static GuardrailAutomatedReasoningFinding.Builder builder()
-
serializableBuilderClass
public static Class<? extends GuardrailAutomatedReasoningFinding.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromValid
public static GuardrailAutomatedReasoningFinding fromValid(GuardrailAutomatedReasoningValidFinding valid)
Create an instance of this class withvalid()initialized to the given value.Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
- Parameters:
valid- Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
-
fromValid
public static GuardrailAutomatedReasoningFinding fromValid(Consumer<GuardrailAutomatedReasoningValidFinding.Builder> valid)
Create an instance of this class withvalid()initialized to the given value.Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
- Parameters:
valid- Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
-
fromInvalid
public static GuardrailAutomatedReasoningFinding fromInvalid(GuardrailAutomatedReasoningInvalidFinding invalid)
Create an instance of this class withinvalid()initialized to the given value.Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
- Parameters:
invalid- Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
-
fromInvalid
public static GuardrailAutomatedReasoningFinding fromInvalid(Consumer<GuardrailAutomatedReasoningInvalidFinding.Builder> invalid)
Create an instance of this class withinvalid()initialized to the given value.Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
- Parameters:
invalid- Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
-
fromSatisfiable
public static GuardrailAutomatedReasoningFinding fromSatisfiable(GuardrailAutomatedReasoningSatisfiableFinding satisfiable)
Create an instance of this class withsatisfiable()initialized to the given value.Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
- Parameters:
satisfiable- Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
-
fromSatisfiable
public static GuardrailAutomatedReasoningFinding fromSatisfiable(Consumer<GuardrailAutomatedReasoningSatisfiableFinding.Builder> satisfiable)
Create an instance of this class withsatisfiable()initialized to the given value.Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
- Parameters:
satisfiable- Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
-
fromImpossible
public static GuardrailAutomatedReasoningFinding fromImpossible(GuardrailAutomatedReasoningImpossibleFinding impossible)
Create an instance of this class withimpossible()initialized to the given value.Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
- Parameters:
impossible- Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
-
fromImpossible
public static GuardrailAutomatedReasoningFinding fromImpossible(Consumer<GuardrailAutomatedReasoningImpossibleFinding.Builder> impossible)
Create an instance of this class withimpossible()initialized to the given value.Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
- Parameters:
impossible- Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
-
fromTranslationAmbiguous
public static GuardrailAutomatedReasoningFinding fromTranslationAmbiguous(GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous)
Create an instance of this class withtranslationAmbiguous()initialized to the given value.Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
- Parameters:
translationAmbiguous- Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
-
fromTranslationAmbiguous
public static GuardrailAutomatedReasoningFinding fromTranslationAmbiguous(Consumer<GuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder> translationAmbiguous)
Create an instance of this class withtranslationAmbiguous()initialized to the given value.Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
- Parameters:
translationAmbiguous- Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
-
fromTooComplex
public static GuardrailAutomatedReasoningFinding fromTooComplex(GuardrailAutomatedReasoningTooComplexFinding tooComplex)
Create an instance of this class withtooComplex()initialized to the given value.Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
- Parameters:
tooComplex- Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
-
fromTooComplex
public static GuardrailAutomatedReasoningFinding fromTooComplex(Consumer<GuardrailAutomatedReasoningTooComplexFinding.Builder> tooComplex)
Create an instance of this class withtooComplex()initialized to the given value.Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
- Parameters:
tooComplex- Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
-
fromNoTranslations
public static GuardrailAutomatedReasoningFinding fromNoTranslations(GuardrailAutomatedReasoningNoTranslationsFinding noTranslations)
Create an instance of this class withnoTranslations()initialized to the given value.Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
- Parameters:
noTranslations- Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
-
fromNoTranslations
public static GuardrailAutomatedReasoningFinding fromNoTranslations(Consumer<GuardrailAutomatedReasoningNoTranslationsFinding.Builder> noTranslations)
Create an instance of this class withnoTranslations()initialized to the given value.Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
- Parameters:
noTranslations- Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
-
type
public GuardrailAutomatedReasoningFinding.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beGuardrailAutomatedReasoningFinding.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beGuardrailAutomatedReasoningFinding.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-