Interface GuardrailAutomatedReasoningTranslation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailAutomatedReasoningTranslation.Builder,GuardrailAutomatedReasoningTranslation>,SdkBuilder<GuardrailAutomatedReasoningTranslation.Builder,GuardrailAutomatedReasoningTranslation>,SdkPojo
- Enclosing class:
- GuardrailAutomatedReasoningTranslation
@Mutable @NotThreadSafe public static interface GuardrailAutomatedReasoningTranslation.Builder extends SdkPojo, CopyableBuilder<GuardrailAutomatedReasoningTranslation.Builder,GuardrailAutomatedReasoningTranslation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailAutomatedReasoningTranslation.Builderclaims(Collection<GuardrailAutomatedReasoningStatement> claims)The logical statements that are being validated against the premises and policy rules.GuardrailAutomatedReasoningTranslation.Builderclaims(Consumer<GuardrailAutomatedReasoningStatement.Builder>... claims)The logical statements that are being validated against the premises and policy rules.GuardrailAutomatedReasoningTranslation.Builderclaims(GuardrailAutomatedReasoningStatement... claims)The logical statements that are being validated against the premises and policy rules.GuardrailAutomatedReasoningTranslation.Builderconfidence(Double confidence)A confidence score between 0 and 1 indicating how certain the system is about the logical translation.GuardrailAutomatedReasoningTranslation.Builderpremises(Collection<GuardrailAutomatedReasoningStatement> premises)The logical statements that serve as the foundation or assumptions for the claims.GuardrailAutomatedReasoningTranslation.Builderpremises(Consumer<GuardrailAutomatedReasoningStatement.Builder>... premises)The logical statements that serve as the foundation or assumptions for the claims.GuardrailAutomatedReasoningTranslation.Builderpremises(GuardrailAutomatedReasoningStatement... premises)The logical statements that serve as the foundation or assumptions for the claims.GuardrailAutomatedReasoningTranslation.BuilderuntranslatedClaims(Collection<GuardrailAutomatedReasoningInputTextReference> untranslatedClaims)References to portions of the original input text that correspond to the claims but could not be fully translated.GuardrailAutomatedReasoningTranslation.BuilderuntranslatedClaims(Consumer<GuardrailAutomatedReasoningInputTextReference.Builder>... untranslatedClaims)References to portions of the original input text that correspond to the claims but could not be fully translated.GuardrailAutomatedReasoningTranslation.BuilderuntranslatedClaims(GuardrailAutomatedReasoningInputTextReference... untranslatedClaims)References to portions of the original input text that correspond to the claims but could not be fully translated.GuardrailAutomatedReasoningTranslation.BuilderuntranslatedPremises(Collection<GuardrailAutomatedReasoningInputTextReference> untranslatedPremises)References to portions of the original input text that correspond to the premises but could not be fully translated.GuardrailAutomatedReasoningTranslation.BuilderuntranslatedPremises(Consumer<GuardrailAutomatedReasoningInputTextReference.Builder>... untranslatedPremises)References to portions of the original input text that correspond to the premises but could not be fully translated.GuardrailAutomatedReasoningTranslation.BuilderuntranslatedPremises(GuardrailAutomatedReasoningInputTextReference... 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
GuardrailAutomatedReasoningTranslation.Builder premises(Collection<GuardrailAutomatedReasoningStatement> 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
GuardrailAutomatedReasoningTranslation.Builder premises(GuardrailAutomatedReasoningStatement... 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
GuardrailAutomatedReasoningTranslation.Builder premises(Consumer<GuardrailAutomatedReasoningStatement.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 theGuardrailAutomatedReasoningStatement.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningStatement.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 onGuardrailAutomatedReasoningStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#premises(java.util.Collection)
-
claims
GuardrailAutomatedReasoningTranslation.Builder claims(Collection<GuardrailAutomatedReasoningStatement> 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
GuardrailAutomatedReasoningTranslation.Builder claims(GuardrailAutomatedReasoningStatement... 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
GuardrailAutomatedReasoningTranslation.Builder claims(Consumer<GuardrailAutomatedReasoningStatement.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 theGuardrailAutomatedReasoningStatement.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningStatement.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 onGuardrailAutomatedReasoningStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#claims(java.util.Collection)
-
untranslatedPremises
GuardrailAutomatedReasoningTranslation.Builder untranslatedPremises(Collection<GuardrailAutomatedReasoningInputTextReference> 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
GuardrailAutomatedReasoningTranslation.Builder untranslatedPremises(GuardrailAutomatedReasoningInputTextReference... 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
GuardrailAutomatedReasoningTranslation.Builder untranslatedPremises(Consumer<GuardrailAutomatedReasoningInputTextReference.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 theGuardrailAutomatedReasoningInputTextReference.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningInputTextReference.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 onGuardrailAutomatedReasoningInputTextReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#untranslatedPremises(java.util.Collection)
-
untranslatedClaims
GuardrailAutomatedReasoningTranslation.Builder untranslatedClaims(Collection<GuardrailAutomatedReasoningInputTextReference> 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
GuardrailAutomatedReasoningTranslation.Builder untranslatedClaims(GuardrailAutomatedReasoningInputTextReference... 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
GuardrailAutomatedReasoningTranslation.Builder untranslatedClaims(Consumer<GuardrailAutomatedReasoningInputTextReference.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 theGuardrailAutomatedReasoningInputTextReference.Builderavoiding the need to create one manually viaGuardrailAutomatedReasoningInputTextReference.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 onGuardrailAutomatedReasoningInputTextReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#untranslatedClaims(java.util.Collection)
-
confidence
GuardrailAutomatedReasoningTranslation.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.
-
-