Interface AutomatedReasoningPolicyAnnotation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyAnnotation.Builder,
,AutomatedReasoningPolicyAnnotation> SdkBuilder<AutomatedReasoningPolicyAnnotation.Builder,
,AutomatedReasoningPolicyAnnotation> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyAnnotation
-
Method Summary
Modifier and TypeMethodDescriptionAn operation to add a new logical rule to the policy using formal mathematical expressions.An operation to add a new logical rule to the policy using formal mathematical expressions.addRuleFromNaturalLanguage
(Consumer<AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.Builder> addRuleFromNaturalLanguage) An operation to add a new rule by converting natural language descriptions into formal logical expressions.addRuleFromNaturalLanguage
(AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation addRuleFromNaturalLanguage) An operation to add a new rule by converting natural language descriptions into formal logical expressions.An operation to add a new custom type to the policy, defining a set of possible values for policy variables.An operation to add a new custom type to the policy, defining a set of possible values for policy variables.An operation to add a new variable to the policy, which can be used in rule expressions to represent dynamic values.addVariable
(AutomatedReasoningPolicyAddVariableAnnotation addVariable) An operation to add a new variable to the policy, which can be used in rule expressions to represent dynamic values.An operation to remove a rule from the policy.An operation to remove a rule from the policy.An operation to remove a custom type from the policy.An operation to remove a custom type from the policy.An operation to remove a variable from the policy.deleteVariable
(AutomatedReasoningPolicyDeleteVariableAnnotation deleteVariable) An operation to remove a variable from the policy.An operation to process and incorporate new content into the policy, extracting additional rules and concepts.ingestContent
(AutomatedReasoningPolicyIngestContentAnnotation ingestContent) An operation to process and incorporate new content into the policy, extracting additional rules and concepts.updateFromRulesFeedback
(Consumer<AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.Builder> updateFromRulesFeedback) An operation to update the policy based on feedback about how specific rules performed during testing or validation.updateFromRulesFeedback
(AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation updateFromRulesFeedback) An operation to update the policy based on feedback about how specific rules performed during testing or validation.updateFromScenarioFeedback
(Consumer<AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.Builder> updateFromScenarioFeedback) An operation to update the policy based on feedback about how it performed on specific test scenarios.updateFromScenarioFeedback
(AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation updateFromScenarioFeedback) An operation to update the policy based on feedback about how it performed on specific test scenarios.An operation to modify an existing rule in the policy, such as changing its logical expression or conditions.An operation to modify an existing rule in the policy, such as changing its logical expression or conditions.An operation to modify an existing custom type in the policy, such as changing its name, description, or allowed values.An operation to modify an existing custom type in the policy, such as changing its name, description, or allowed values.An operation to modify an existing variable in the policy, such as changing its name, type, or description.updateVariable
(AutomatedReasoningPolicyUpdateVariableAnnotation updateVariable) An operation to modify an existing variable in the policy, such as changing its name, type, or description.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
-
addType
AutomatedReasoningPolicyAnnotation.Builder addType(AutomatedReasoningPolicyAddTypeAnnotation addType) An operation to add a new custom type to the policy, defining a set of possible values for policy variables.
- Parameters:
addType
- An operation to add a new custom type to the policy, defining a set of possible values for policy variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addType
default AutomatedReasoningPolicyAnnotation.Builder addType(Consumer<AutomatedReasoningPolicyAddTypeAnnotation.Builder> addType) An operation to add a new custom type to the policy, defining a set of possible values for policy variables.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddTypeAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyAddTypeAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddType(AutomatedReasoningPolicyAddTypeAnnotation)
.- Parameters:
addType
- a consumer that will call methods onAutomatedReasoningPolicyAddTypeAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateType
AutomatedReasoningPolicyAnnotation.Builder updateType(AutomatedReasoningPolicyUpdateTypeAnnotation updateType) An operation to modify an existing custom type in the policy, such as changing its name, description, or allowed values.
- Parameters:
updateType
- An operation to modify an existing custom type in the policy, such as changing its name, description, or allowed values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateType
default AutomatedReasoningPolicyAnnotation.Builder updateType(Consumer<AutomatedReasoningPolicyUpdateTypeAnnotation.Builder> updateType) An operation to modify an existing custom type in the policy, such as changing its name, description, or allowed values.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateTypeAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyUpdateTypeAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateType(AutomatedReasoningPolicyUpdateTypeAnnotation)
.- Parameters:
updateType
- a consumer that will call methods onAutomatedReasoningPolicyUpdateTypeAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deleteType
AutomatedReasoningPolicyAnnotation.Builder deleteType(AutomatedReasoningPolicyDeleteTypeAnnotation deleteType) An operation to remove a custom type from the policy. The type must not be referenced by any variables or rules.
- Parameters:
deleteType
- An operation to remove a custom type from the policy. The type must not be referenced by any variables or rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteType
default AutomatedReasoningPolicyAnnotation.Builder deleteType(Consumer<AutomatedReasoningPolicyDeleteTypeAnnotation.Builder> deleteType) An operation to remove a custom type from the policy. The type must not be referenced by any variables or rules.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDeleteTypeAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDeleteTypeAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeleteType(AutomatedReasoningPolicyDeleteTypeAnnotation)
.- Parameters:
deleteType
- a consumer that will call methods onAutomatedReasoningPolicyDeleteTypeAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addVariable
AutomatedReasoningPolicyAnnotation.Builder addVariable(AutomatedReasoningPolicyAddVariableAnnotation addVariable) An operation to add a new variable to the policy, which can be used in rule expressions to represent dynamic values.
- Parameters:
addVariable
- An operation to add a new variable to the policy, which can be used in rule expressions to represent dynamic values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addVariable
default AutomatedReasoningPolicyAnnotation.Builder addVariable(Consumer<AutomatedReasoningPolicyAddVariableAnnotation.Builder> addVariable) An operation to add a new variable to the policy, which can be used in rule expressions to represent dynamic values.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddVariableAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyAddVariableAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddVariable(AutomatedReasoningPolicyAddVariableAnnotation)
.- Parameters:
addVariable
- a consumer that will call methods onAutomatedReasoningPolicyAddVariableAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateVariable
AutomatedReasoningPolicyAnnotation.Builder updateVariable(AutomatedReasoningPolicyUpdateVariableAnnotation updateVariable) An operation to modify an existing variable in the policy, such as changing its name, type, or description.
- Parameters:
updateVariable
- An operation to modify an existing variable in the policy, such as changing its name, type, or description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateVariable
default AutomatedReasoningPolicyAnnotation.Builder updateVariable(Consumer<AutomatedReasoningPolicyUpdateVariableAnnotation.Builder> updateVariable) An operation to modify an existing variable in the policy, such as changing its name, type, or description.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateVariableAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyUpdateVariableAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateVariable(AutomatedReasoningPolicyUpdateVariableAnnotation)
.- Parameters:
updateVariable
- a consumer that will call methods onAutomatedReasoningPolicyUpdateVariableAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deleteVariable
AutomatedReasoningPolicyAnnotation.Builder deleteVariable(AutomatedReasoningPolicyDeleteVariableAnnotation deleteVariable) An operation to remove a variable from the policy. The variable must not be referenced by any rules.
- Parameters:
deleteVariable
- An operation to remove a variable from the policy. The variable must not be referenced by any rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteVariable
default AutomatedReasoningPolicyAnnotation.Builder deleteVariable(Consumer<AutomatedReasoningPolicyDeleteVariableAnnotation.Builder> deleteVariable) An operation to remove a variable from the policy. The variable must not be referenced by any rules.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDeleteVariableAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDeleteVariableAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeleteVariable(AutomatedReasoningPolicyDeleteVariableAnnotation)
.- Parameters:
deleteVariable
- a consumer that will call methods onAutomatedReasoningPolicyDeleteVariableAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addRule
AutomatedReasoningPolicyAnnotation.Builder addRule(AutomatedReasoningPolicyAddRuleAnnotation addRule) An operation to add a new logical rule to the policy using formal mathematical expressions.
- Parameters:
addRule
- An operation to add a new logical rule to the policy using formal mathematical expressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addRule
default AutomatedReasoningPolicyAnnotation.Builder addRule(Consumer<AutomatedReasoningPolicyAddRuleAnnotation.Builder> addRule) An operation to add a new logical rule to the policy using formal mathematical expressions.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddRuleAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyAddRuleAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddRule(AutomatedReasoningPolicyAddRuleAnnotation)
.- Parameters:
addRule
- a consumer that will call methods onAutomatedReasoningPolicyAddRuleAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateRule
AutomatedReasoningPolicyAnnotation.Builder updateRule(AutomatedReasoningPolicyUpdateRuleAnnotation updateRule) An operation to modify an existing rule in the policy, such as changing its logical expression or conditions.
- Parameters:
updateRule
- An operation to modify an existing rule in the policy, such as changing its logical expression or conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateRule
default AutomatedReasoningPolicyAnnotation.Builder updateRule(Consumer<AutomatedReasoningPolicyUpdateRuleAnnotation.Builder> updateRule) An operation to modify an existing rule in the policy, such as changing its logical expression or conditions.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateRuleAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyUpdateRuleAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateRule(AutomatedReasoningPolicyUpdateRuleAnnotation)
.- Parameters:
updateRule
- a consumer that will call methods onAutomatedReasoningPolicyUpdateRuleAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deleteRule
AutomatedReasoningPolicyAnnotation.Builder deleteRule(AutomatedReasoningPolicyDeleteRuleAnnotation deleteRule) An operation to remove a rule from the policy.
- Parameters:
deleteRule
- An operation to remove a rule from the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteRule
default AutomatedReasoningPolicyAnnotation.Builder deleteRule(Consumer<AutomatedReasoningPolicyDeleteRuleAnnotation.Builder> deleteRule) An operation to remove a rule from the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDeleteRuleAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDeleteRuleAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeleteRule(AutomatedReasoningPolicyDeleteRuleAnnotation)
.- Parameters:
deleteRule
- a consumer that will call methods onAutomatedReasoningPolicyDeleteRuleAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addRuleFromNaturalLanguage
AutomatedReasoningPolicyAnnotation.Builder addRuleFromNaturalLanguage(AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation addRuleFromNaturalLanguage) An operation to add a new rule by converting natural language descriptions into formal logical expressions.
- Parameters:
addRuleFromNaturalLanguage
- An operation to add a new rule by converting natural language descriptions into formal logical expressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addRuleFromNaturalLanguage
default AutomatedReasoningPolicyAnnotation.Builder addRuleFromNaturalLanguage(Consumer<AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.Builder> addRuleFromNaturalLanguage) An operation to add a new rule by converting natural language descriptions into formal logical expressions.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddRuleFromNaturalLanguage(AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation)
.- Parameters:
addRuleFromNaturalLanguage
- a consumer that will call methods onAutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateFromRulesFeedback
AutomatedReasoningPolicyAnnotation.Builder updateFromRulesFeedback(AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation updateFromRulesFeedback) An operation to update the policy based on feedback about how specific rules performed during testing or validation.
- Parameters:
updateFromRulesFeedback
- An operation to update the policy based on feedback about how specific rules performed during testing or validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateFromRulesFeedback
default AutomatedReasoningPolicyAnnotation.Builder updateFromRulesFeedback(Consumer<AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.Builder> updateFromRulesFeedback) An operation to update the policy based on feedback about how specific rules performed during testing or validation.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateFromRulesFeedback(AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation)
.- Parameters:
updateFromRulesFeedback
- a consumer that will call methods onAutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateFromScenarioFeedback
AutomatedReasoningPolicyAnnotation.Builder updateFromScenarioFeedback(AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation updateFromScenarioFeedback) An operation to update the policy based on feedback about how it performed on specific test scenarios.
- Parameters:
updateFromScenarioFeedback
- An operation to update the policy based on feedback about how it performed on specific test scenarios.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateFromScenarioFeedback
default AutomatedReasoningPolicyAnnotation.Builder updateFromScenarioFeedback(Consumer<AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.Builder> updateFromScenarioFeedback) An operation to update the policy based on feedback about how it performed on specific test scenarios.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateFromScenarioFeedback(AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation)
.- Parameters:
updateFromScenarioFeedback
- a consumer that will call methods onAutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingestContent
AutomatedReasoningPolicyAnnotation.Builder ingestContent(AutomatedReasoningPolicyIngestContentAnnotation ingestContent) An operation to process and incorporate new content into the policy, extracting additional rules and concepts.
- Parameters:
ingestContent
- An operation to process and incorporate new content into the policy, extracting additional rules and concepts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestContent
default AutomatedReasoningPolicyAnnotation.Builder ingestContent(Consumer<AutomatedReasoningPolicyIngestContentAnnotation.Builder> ingestContent) An operation to process and incorporate new content into the policy, extracting additional rules and concepts.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyIngestContentAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyIngestContentAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toingestContent(AutomatedReasoningPolicyIngestContentAnnotation)
.- Parameters:
ingestContent
- a consumer that will call methods onAutomatedReasoningPolicyIngestContentAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-