Interface AutomatedReasoningCheckTranslation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningCheckTranslation.Builder,AutomatedReasoningCheckTranslation>,SdkBuilder<AutomatedReasoningCheckTranslation.Builder,AutomatedReasoningCheckTranslation>,SdkPojo
- Enclosing class:
- AutomatedReasoningCheckTranslation
@Mutable @NotThreadSafe public static interface AutomatedReasoningCheckTranslation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningCheckTranslation.Builder,AutomatedReasoningCheckTranslation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningCheckTranslation.Builderclaims(Collection<AutomatedReasoningLogicStatement> claims)The logical statements that are being validated against the premises and policy rules.AutomatedReasoningCheckTranslation.Builderclaims(Consumer<AutomatedReasoningLogicStatement.Builder>... claims)The logical statements that are being validated against the premises and policy rules.AutomatedReasoningCheckTranslation.Builderclaims(AutomatedReasoningLogicStatement... claims)The logical statements that are being validated against the premises and policy rules.AutomatedReasoningCheckTranslation.Builderconfidence(Double confidence)A confidence score between 0 and 1 indicating how certain the system is about the logical translation.AutomatedReasoningCheckTranslation.Builderpremises(Collection<AutomatedReasoningLogicStatement> premises)The logical statements that serve as the foundation or assumptions for the claims.AutomatedReasoningCheckTranslation.Builderpremises(Consumer<AutomatedReasoningLogicStatement.Builder>... premises)The logical statements that serve as the foundation or assumptions for the claims.AutomatedReasoningCheckTranslation.Builderpremises(AutomatedReasoningLogicStatement... premises)The logical statements that serve as the foundation or assumptions for the claims.AutomatedReasoningCheckTranslation.BuilderuntranslatedClaims(Collection<AutomatedReasoningCheckInputTextReference> untranslatedClaims)References to portions of the original input text that correspond to the claims but could not be fully translated.AutomatedReasoningCheckTranslation.BuilderuntranslatedClaims(Consumer<AutomatedReasoningCheckInputTextReference.Builder>... untranslatedClaims)References to portions of the original input text that correspond to the claims but could not be fully translated.AutomatedReasoningCheckTranslation.BuilderuntranslatedClaims(AutomatedReasoningCheckInputTextReference... untranslatedClaims)References to portions of the original input text that correspond to the claims but could not be fully translated.AutomatedReasoningCheckTranslation.BuilderuntranslatedPremises(Collection<AutomatedReasoningCheckInputTextReference> untranslatedPremises)References to portions of the original input text that correspond to the premises but could not be fully translated.AutomatedReasoningCheckTranslation.BuilderuntranslatedPremises(Consumer<AutomatedReasoningCheckInputTextReference.Builder>... untranslatedPremises)References to portions of the original input text that correspond to the premises but could not be fully translated.AutomatedReasoningCheckTranslation.BuilderuntranslatedPremises(AutomatedReasoningCheckInputTextReference... untranslatedPremises)References to portions of the original input text that correspond to the premises but could not be fully translated.-
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 Detail
-
premises
AutomatedReasoningCheckTranslation.Builder premises(Collection<AutomatedReasoningLogicStatement> premises)
The logical statements that serve as the foundation or assumptions for the claims.
- Parameters:
premises- The logical statements that serve as the foundation or assumptions for the claims.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
premises
AutomatedReasoningCheckTranslation.Builder premises(AutomatedReasoningLogicStatement... premises)
The logical statements that serve as the foundation or assumptions for the claims.
- Parameters:
premises- The logical statements that serve as the foundation or assumptions for the claims.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
premises
AutomatedReasoningCheckTranslation.Builder premises(Consumer<AutomatedReasoningLogicStatement.Builder>... premises)
The logical statements that serve as the foundation or assumptions for the claims.
This is a convenience method that creates an instance of theAutomatedReasoningLogicStatement.Builderavoiding the need to create one manually viaAutomatedReasoningLogicStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#premises(List.) - Parameters:
premises- a consumer that will call methods onAutomatedReasoningLogicStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#premises(java.util.Collection)
-
claims
AutomatedReasoningCheckTranslation.Builder claims(Collection<AutomatedReasoningLogicStatement> claims)
The logical statements that are being validated against the premises and policy rules.
- Parameters:
claims- The logical statements that are being validated against the premises and policy rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claims
AutomatedReasoningCheckTranslation.Builder claims(AutomatedReasoningLogicStatement... claims)
The logical statements that are being validated against the premises and policy rules.
- Parameters:
claims- The logical statements that are being validated against the premises and policy rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claims
AutomatedReasoningCheckTranslation.Builder claims(Consumer<AutomatedReasoningLogicStatement.Builder>... claims)
The logical statements that are being validated against the premises and policy rules.
This is a convenience method that creates an instance of theAutomatedReasoningLogicStatement.Builderavoiding the need to create one manually viaAutomatedReasoningLogicStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#claims(List.) - Parameters:
claims- a consumer that will call methods onAutomatedReasoningLogicStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#claims(java.util.Collection)
-
untranslatedPremises
AutomatedReasoningCheckTranslation.Builder untranslatedPremises(Collection<AutomatedReasoningCheckInputTextReference> untranslatedPremises)
References to portions of the original input text that correspond to the premises but could not be fully translated.
- Parameters:
untranslatedPremises- References to portions of the original input text that correspond to the premises but could not be fully translated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
untranslatedPremises
AutomatedReasoningCheckTranslation.Builder untranslatedPremises(AutomatedReasoningCheckInputTextReference... untranslatedPremises)
References to portions of the original input text that correspond to the premises but could not be fully translated.
- Parameters:
untranslatedPremises- References to portions of the original input text that correspond to the premises but could not be fully translated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
untranslatedPremises
AutomatedReasoningCheckTranslation.Builder untranslatedPremises(Consumer<AutomatedReasoningCheckInputTextReference.Builder>... untranslatedPremises)
References to portions of the original input text that correspond to the premises but could not be fully translated.
This is a convenience method that creates an instance of theAutomatedReasoningCheckInputTextReference.Builderavoiding the need to create one manually viaAutomatedReasoningCheckInputTextReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#untranslatedPremises(List.) - Parameters:
untranslatedPremises- a consumer that will call methods onAutomatedReasoningCheckInputTextReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#untranslatedPremises(java.util.Collection)
-
untranslatedClaims
AutomatedReasoningCheckTranslation.Builder untranslatedClaims(Collection<AutomatedReasoningCheckInputTextReference> untranslatedClaims)
References to portions of the original input text that correspond to the claims but could not be fully translated.
- Parameters:
untranslatedClaims- References to portions of the original input text that correspond to the claims but could not be fully translated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
untranslatedClaims
AutomatedReasoningCheckTranslation.Builder untranslatedClaims(AutomatedReasoningCheckInputTextReference... untranslatedClaims)
References to portions of the original input text that correspond to the claims but could not be fully translated.
- Parameters:
untranslatedClaims- References to portions of the original input text that correspond to the claims but could not be fully translated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
untranslatedClaims
AutomatedReasoningCheckTranslation.Builder untranslatedClaims(Consumer<AutomatedReasoningCheckInputTextReference.Builder>... untranslatedClaims)
References to portions of the original input text that correspond to the claims but could not be fully translated.
This is a convenience method that creates an instance of theAutomatedReasoningCheckInputTextReference.Builderavoiding the need to create one manually viaAutomatedReasoningCheckInputTextReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#untranslatedClaims(List.) - Parameters:
untranslatedClaims- a consumer that will call methods onAutomatedReasoningCheckInputTextReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#untranslatedClaims(java.util.Collection)
-
confidence
AutomatedReasoningCheckTranslation.Builder confidence(Double confidence)
A confidence score between 0 and 1 indicating how certain the system is about the logical translation.
- Parameters:
confidence- A confidence score between 0 and 1 indicating how certain the system is about the logical translation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-