Interface AutomatedReasoningPolicyDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyDefinition.Builder,AutomatedReasoningPolicyDefinition>,SdkBuilder<AutomatedReasoningPolicyDefinition.Builder,AutomatedReasoningPolicyDefinition>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyDefinition
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyDefinition.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyDefinition.Builder,AutomatedReasoningPolicyDefinition>
-
-
Method Summary
-
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
-
version
AutomatedReasoningPolicyDefinition.Builder version(String version)
The version of the policy definition format.
- Parameters:
version- The version of the policy definition format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
AutomatedReasoningPolicyDefinition.Builder types(Collection<AutomatedReasoningPolicyDefinitionType> types)
The custom user-defined vairable types used in the policy. Types are enum-based variable types that provide additional context beyond the predefined variable types.
- Parameters:
types- The custom user-defined vairable types used in the policy. Types are enum-based variable types that provide additional context beyond the predefined variable types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
AutomatedReasoningPolicyDefinition.Builder types(AutomatedReasoningPolicyDefinitionType... types)
The custom user-defined vairable types used in the policy. Types are enum-based variable types that provide additional context beyond the predefined variable types.
- Parameters:
types- The custom user-defined vairable types used in the policy. Types are enum-based variable types that provide additional context beyond the predefined variable types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
AutomatedReasoningPolicyDefinition.Builder types(Consumer<AutomatedReasoningPolicyDefinitionType.Builder>... types)
The custom user-defined vairable types used in the policy. Types are enum-based variable types that provide additional context beyond the predefined variable types.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionType.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#types(List.) - Parameters:
types- a consumer that will call methods onAutomatedReasoningPolicyDefinitionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#types(java.util.Collection)
-
rules
AutomatedReasoningPolicyDefinition.Builder rules(Collection<AutomatedReasoningPolicyDefinitionRule> rules)
The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.
- Parameters:
rules- The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
AutomatedReasoningPolicyDefinition.Builder rules(AutomatedReasoningPolicyDefinitionRule... rules)
The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.
- Parameters:
rules- The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
AutomatedReasoningPolicyDefinition.Builder rules(Consumer<AutomatedReasoningPolicyDefinitionRule.Builder>... rules)
The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionRule.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onAutomatedReasoningPolicyDefinitionRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
variables
AutomatedReasoningPolicyDefinition.Builder variables(Collection<AutomatedReasoningPolicyDefinitionVariable> variables)
The variables that represent concepts in the policy. Variables can have values assigned when translating natural language into formal logic. Their descriptions are crucial for accurate translation.
- Parameters:
variables- The variables that represent concepts in the policy. Variables can have values assigned when translating natural language into formal logic. Their descriptions are crucial for accurate translation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
AutomatedReasoningPolicyDefinition.Builder variables(AutomatedReasoningPolicyDefinitionVariable... variables)
The variables that represent concepts in the policy. Variables can have values assigned when translating natural language into formal logic. Their descriptions are crucial for accurate translation.
- Parameters:
variables- The variables that represent concepts in the policy. Variables can have values assigned when translating natural language into formal logic. Their descriptions are crucial for accurate translation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
AutomatedReasoningPolicyDefinition.Builder variables(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder>... variables)
The variables that represent concepts in the policy. Variables can have values assigned when translating natural language into formal logic. Their descriptions are crucial for accurate translation.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionVariable.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionVariable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#variables(List.) - Parameters:
variables- a consumer that will call methods onAutomatedReasoningPolicyDefinitionVariable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#variables(java.util.Collection)
-
-