Interface AutomatedReasoningPolicyDefinitionElement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyDefinitionElement.Builder,
,AutomatedReasoningPolicyDefinitionElement> SdkBuilder<AutomatedReasoningPolicyDefinitionElement.Builder,
,AutomatedReasoningPolicyDefinitionElement> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyDefinitionElement
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyDefinitionElement.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyDefinitionElement.Builder,AutomatedReasoningPolicyDefinitionElement>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDefinitionRule
(Consumer<AutomatedReasoningPolicyDefinitionRule.Builder> policyDefinitionRule) Sets the value of the PolicyDefinitionRule property for this object.policyDefinitionRule
(AutomatedReasoningPolicyDefinitionRule policyDefinitionRule) Sets the value of the PolicyDefinitionRule property for this object.policyDefinitionType
(Consumer<AutomatedReasoningPolicyDefinitionType.Builder> policyDefinitionType) Sets the value of the PolicyDefinitionType property for this object.policyDefinitionType
(AutomatedReasoningPolicyDefinitionType policyDefinitionType) Sets the value of the PolicyDefinitionType property for this object.policyDefinitionVariable
(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder> policyDefinitionVariable) Sets the value of the PolicyDefinitionVariable property for this object.policyDefinitionVariable
(AutomatedReasoningPolicyDefinitionVariable policyDefinitionVariable) Sets the value of the PolicyDefinitionVariable property for this object.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
-
policyDefinitionVariable
AutomatedReasoningPolicyDefinitionElement.Builder policyDefinitionVariable(AutomatedReasoningPolicyDefinitionVariable policyDefinitionVariable) Sets the value of the PolicyDefinitionVariable property for this object.- Parameters:
policyDefinitionVariable
- The new value for the PolicyDefinitionVariable property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinitionVariable
default AutomatedReasoningPolicyDefinitionElement.Builder policyDefinitionVariable(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder> policyDefinitionVariable) Sets the value of the PolicyDefinitionVariable property for this object. This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionVariable.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionVariable.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyDefinitionVariable(AutomatedReasoningPolicyDefinitionVariable)
.- Parameters:
policyDefinitionVariable
- 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:
-
policyDefinitionType
AutomatedReasoningPolicyDefinitionElement.Builder policyDefinitionType(AutomatedReasoningPolicyDefinitionType policyDefinitionType) Sets the value of the PolicyDefinitionType property for this object.- Parameters:
policyDefinitionType
- The new value for the PolicyDefinitionType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinitionType
default AutomatedReasoningPolicyDefinitionElement.Builder policyDefinitionType(Consumer<AutomatedReasoningPolicyDefinitionType.Builder> policyDefinitionType) Sets the value of the PolicyDefinitionType property for this object. This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionType.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyDefinitionType(AutomatedReasoningPolicyDefinitionType)
.- Parameters:
policyDefinitionType
- 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:
-
policyDefinitionRule
AutomatedReasoningPolicyDefinitionElement.Builder policyDefinitionRule(AutomatedReasoningPolicyDefinitionRule policyDefinitionRule) Sets the value of the PolicyDefinitionRule property for this object.- Parameters:
policyDefinitionRule
- The new value for the PolicyDefinitionRule property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinitionRule
default AutomatedReasoningPolicyDefinitionElement.Builder policyDefinitionRule(Consumer<AutomatedReasoningPolicyDefinitionRule.Builder> policyDefinitionRule) Sets the value of the PolicyDefinitionRule property for this object. This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionRule.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyDefinitionRule(AutomatedReasoningPolicyDefinitionRule)
.- Parameters:
policyDefinitionRule
- 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:
-