Interface RuleConditionProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleConditionProperties.Builder,,RuleConditionProperties> SdkBuilder<RuleConditionProperties.Builder,,RuleConditionProperties> SdkPojo
- Enclosing class:
RuleConditionProperties
@Mutable
@NotThreadSafe
public static interface RuleConditionProperties.Builder
extends SdkPojo, CopyableBuilder<RuleConditionProperties.Builder,RuleConditionProperties>
-
Method Summary
Modifier and TypeMethodDescriptionrules(Collection<RuleCondition> rules) A list of rule objects, each of which have fieldsruleNameandcondition.rules(Consumer<RuleCondition.Builder>... rules) A list of rule objects, each of which have fieldsruleNameandcondition.rules(RuleCondition... rules) A list of rule objects, each of which have fieldsruleNameandcondition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rules
A list of rule objects, each of which have fields
ruleNameandcondition.- Parameters:
rules- A list of rule objects, each of which have fieldsruleNameandcondition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of rule objects, each of which have fields
ruleNameandcondition.- Parameters:
rules- A list of rule objects, each of which have fieldsruleNameandcondition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of rule objects, each of which have fields
This is a convenience method that creates an instance of theruleNameandcondition.RuleCondition.Builderavoiding the need to create one manually viaRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<RuleCondition>).- Parameters:
rules- a consumer that will call methods onRuleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-