Interface AutomatedReasoningCheckTranslation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningCheckTranslation.Builder,
,AutomatedReasoningCheckTranslation> SdkBuilder<AutomatedReasoningCheckTranslation.Builder,
,AutomatedReasoningCheckTranslation> SdkPojo
- Enclosing class:
AutomatedReasoningCheckTranslation
-
Method Summary
Modifier and TypeMethodDescriptionThe logical statements that are being validated against the premises and policy rules.claims
(Consumer<AutomatedReasoningLogicStatement.Builder>... claims) The logical statements that are being validated against the premises and policy rules.claims
(AutomatedReasoningLogicStatement... claims) The logical statements that are being validated against the premises and policy rules.confidence
(Double confidence) A confidence score between 0 and 1 indicating how certain the system is about the logical translation.premises
(Collection<AutomatedReasoningLogicStatement> premises) The logical statements that serve as the foundation or assumptions for the claims.premises
(Consumer<AutomatedReasoningLogicStatement.Builder>... premises) The logical statements that serve as the foundation or assumptions for the claims.premises
(AutomatedReasoningLogicStatement... premises) The logical statements that serve as the foundation or assumptions for the claims.untranslatedClaims
(Collection<AutomatedReasoningCheckInputTextReference> untranslatedClaims) References to portions of the original input text that correspond to the claims but could not be fully translated.untranslatedClaims
(Consumer<AutomatedReasoningCheckInputTextReference.Builder>... untranslatedClaims) References to portions of the original input text that correspond to the claims but could not be fully translated.untranslatedClaims
(AutomatedReasoningCheckInputTextReference... untranslatedClaims) References to portions of the original input text that correspond to the claims but could not be fully translated.untranslatedPremises
(Collection<AutomatedReasoningCheckInputTextReference> untranslatedPremises) References to portions of the original input text that correspond to the premises but could not be fully translated.untranslatedPremises
(Consumer<AutomatedReasoningCheckInputTextReference.Builder>... untranslatedPremises) References to portions of the original input text that correspond to the premises but could not be fully translated.untranslatedPremises
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaAutomatedReasoningLogicStatement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topremises(List<AutomatedReasoningLogicStatement>)
.- 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:
-
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
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.Builder
avoiding the need to create one manually viaAutomatedReasoningLogicStatement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclaims(List<AutomatedReasoningLogicStatement>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaAutomatedReasoningCheckInputTextReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tountranslatedPremises(List<AutomatedReasoningCheckInputTextReference>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaAutomatedReasoningCheckInputTextReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tountranslatedClaims(List<AutomatedReasoningCheckInputTextReference>)
.- 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:
-
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.
-