Interface GuardrailAutomatedReasoningLogicWarning.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailAutomatedReasoningLogicWarning.Builder,GuardrailAutomatedReasoningLogicWarning>,SdkBuilder<GuardrailAutomatedReasoningLogicWarning.Builder,GuardrailAutomatedReasoningLogicWarning>,SdkPojo
- Enclosing class:
- GuardrailAutomatedReasoningLogicWarning
@Mutable @NotThreadSafe public static interface GuardrailAutomatedReasoningLogicWarning.Builder extends SdkPojo, CopyableBuilder<GuardrailAutomatedReasoningLogicWarning.Builder,GuardrailAutomatedReasoningLogicWarning>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailAutomatedReasoningLogicWarning.Builderclaims(Collection<GuardrailAutomatedReasoningStatement> claims)The logical statements that are validated while assuming the policy and premises.GuardrailAutomatedReasoningLogicWarning.Builderclaims(Consumer<GuardrailAutomatedReasoningStatement.Builder>... claims)The logical statements that are validated while assuming the policy and premises.GuardrailAutomatedReasoningLogicWarning.Builderclaims(GuardrailAutomatedReasoningStatement... claims)The logical statements that are validated while assuming the policy and premises.GuardrailAutomatedReasoningLogicWarning.Builderpremises(Collection<GuardrailAutomatedReasoningStatement> premises)The logical statements that serve as premises under which the claims are validated.GuardrailAutomatedReasoningLogicWarning.Builderpremises(Consumer<GuardrailAutomatedReasoningStatement.Builder>... premises)The logical statements that serve as premises under which the claims are validated.GuardrailAutomatedReasoningLogicWarning.Builderpremises(GuardrailAutomatedReasoningStatement... premises)The logical statements that serve as premises under which the claims are validated.GuardrailAutomatedReasoningLogicWarning.Buildertype(String type)The category of the detected logical issue, such as statements that are always true or always false.GuardrailAutomatedReasoningLogicWarning.Buildertype(GuardrailAutomatedReasoningLogicWarningType type)The category of the detected logical issue, such as statements that are always true or always false.-
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
-
type
GuardrailAutomatedReasoningLogicWarning.Builder type(String type)
The category of the detected logical issue, such as statements that are always true or always false.
- Parameters:
type- The category of the detected logical issue, such as statements that are always true or always false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailAutomatedReasoningLogicWarningType,GuardrailAutomatedReasoningLogicWarningType
-
type
GuardrailAutomatedReasoningLogicWarning.Builder type(GuardrailAutomatedReasoningLogicWarningType type)
The category of the detected logical issue, such as statements that are always true or always false.
- Parameters:
type- The category of the detected logical issue, such as statements that are always true or always false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailAutomatedReasoningLogicWarningType,GuardrailAutomatedReasoningLogicWarningType
-
premises
GuardrailAutomatedReasoningLogicWarning.Builder premises(Collection<GuardrailAutomatedReasoningStatement> premises)
The logical statements that serve as premises under which the claims are validated.
- Parameters:
premises- The logical statements that serve as premises under which the claims are validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
premises
GuardrailAutomatedReasoningLogicWarning.Builder premises(GuardrailAutomatedReasoningStatement... premises)
The logical statements that serve as premises under which the claims are validated.
- Parameters:
premises- The logical statements that serve as premises under which the claims are validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
premises
GuardrailAutomatedReasoningLogicWarning.Builder premises(Consumer<GuardrailAutomatedReasoningStatement.Builder>... premises)
The logical statements that serve as premises under which the claims are validated.
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
GuardrailAutomatedReasoningLogicWarning.Builder claims(Collection<GuardrailAutomatedReasoningStatement> claims)
The logical statements that are validated while assuming the policy and premises.
- Parameters:
claims- The logical statements that are validated while assuming the policy and premises.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claims
GuardrailAutomatedReasoningLogicWarning.Builder claims(GuardrailAutomatedReasoningStatement... claims)
The logical statements that are validated while assuming the policy and premises.
- Parameters:
claims- The logical statements that are validated while assuming the policy and premises.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
claims
GuardrailAutomatedReasoningLogicWarning.Builder claims(Consumer<GuardrailAutomatedReasoningStatement.Builder>... claims)
The logical statements that are validated while assuming the policy and premises.
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)
-
-