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 fieldsruleName
andcondition
.rules
(Consumer<RuleCondition.Builder>... rules) A list of rule objects, each of which have fieldsruleName
andcondition
.rules
(RuleCondition... rules) A list of rule objects, each of which have fieldsruleName
andcondition
.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
-
rules
A list of rule objects, each of which have fields
ruleName
andcondition
.- Parameters:
rules
- A list of rule objects, each of which have fieldsruleName
andcondition
.- 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
ruleName
andcondition
.- Parameters:
rules
- A list of rule objects, each of which have fieldsruleName
andcondition
.- 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 theruleName
andcondition
.RuleCondition.Builder
avoiding the need to create one manually viaRuleCondition.builder()
.When the
Consumer
completes,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:
-