Interface RuleCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleCondition.Builder,
,RuleCondition> SdkBuilder<RuleCondition.Builder,
,RuleCondition> SdkPojo
- Enclosing class:
RuleCondition
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleCondition.Builder
booleanExpression
(Consumer<RuleBooleanExpression.Builder> booleanExpression) The condition applies to a boolean expression passed in this field.booleanExpression
(RuleBooleanExpression booleanExpression) The condition applies to a boolean expression passed in this field.default RuleCondition.Builder
dmarcExpression
(Consumer<RuleDmarcExpression.Builder> dmarcExpression) The condition applies to a DMARC policy expression passed in this field.dmarcExpression
(RuleDmarcExpression dmarcExpression) The condition applies to a DMARC policy expression passed in this field.default RuleCondition.Builder
ipExpression
(Consumer<RuleIpExpression.Builder> ipExpression) The condition applies to an IP address expression passed in this field.ipExpression
(RuleIpExpression ipExpression) The condition applies to an IP address expression passed in this field.default RuleCondition.Builder
numberExpression
(Consumer<RuleNumberExpression.Builder> numberExpression) The condition applies to a number expression passed in this field.numberExpression
(RuleNumberExpression numberExpression) The condition applies to a number expression passed in this field.default RuleCondition.Builder
stringExpression
(Consumer<RuleStringExpression.Builder> stringExpression) The condition applies to a string expression passed in this field.stringExpression
(RuleStringExpression stringExpression) The condition applies to a string expression passed in this field.default RuleCondition.Builder
verdictExpression
(Consumer<RuleVerdictExpression.Builder> verdictExpression) The condition applies to a verdict expression passed in this field.verdictExpression
(RuleVerdictExpression verdictExpression) The condition applies to a verdict expression passed in this field.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
-
booleanExpression
The condition applies to a boolean expression passed in this field.
- Parameters:
booleanExpression
- The condition applies to a boolean expression passed in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
booleanExpression
default RuleCondition.Builder booleanExpression(Consumer<RuleBooleanExpression.Builder> booleanExpression) The condition applies to a boolean expression passed in this field.
This is a convenience method that creates an instance of theRuleBooleanExpression.Builder
avoiding the need to create one manually viaRuleBooleanExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobooleanExpression(RuleBooleanExpression)
.- Parameters:
booleanExpression
- a consumer that will call methods onRuleBooleanExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dmarcExpression
The condition applies to a DMARC policy expression passed in this field.
- Parameters:
dmarcExpression
- The condition applies to a DMARC policy expression passed in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dmarcExpression
default RuleCondition.Builder dmarcExpression(Consumer<RuleDmarcExpression.Builder> dmarcExpression) The condition applies to a DMARC policy expression passed in this field.
This is a convenience method that creates an instance of theRuleDmarcExpression.Builder
avoiding the need to create one manually viaRuleDmarcExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todmarcExpression(RuleDmarcExpression)
.- Parameters:
dmarcExpression
- a consumer that will call methods onRuleDmarcExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipExpression
The condition applies to an IP address expression passed in this field.
- Parameters:
ipExpression
- The condition applies to an IP address expression passed in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipExpression
The condition applies to an IP address expression passed in this field.
This is a convenience method that creates an instance of theRuleIpExpression.Builder
avoiding the need to create one manually viaRuleIpExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipExpression(RuleIpExpression)
.- Parameters:
ipExpression
- a consumer that will call methods onRuleIpExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberExpression
The condition applies to a number expression passed in this field.
- Parameters:
numberExpression
- The condition applies to a number expression passed in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberExpression
default RuleCondition.Builder numberExpression(Consumer<RuleNumberExpression.Builder> numberExpression) The condition applies to a number expression passed in this field.
This is a convenience method that creates an instance of theRuleNumberExpression.Builder
avoiding the need to create one manually viaRuleNumberExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonumberExpression(RuleNumberExpression)
.- Parameters:
numberExpression
- a consumer that will call methods onRuleNumberExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stringExpression
The condition applies to a string expression passed in this field.
- Parameters:
stringExpression
- The condition applies to a string expression passed in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringExpression
default RuleCondition.Builder stringExpression(Consumer<RuleStringExpression.Builder> stringExpression) The condition applies to a string expression passed in this field.
This is a convenience method that creates an instance of theRuleStringExpression.Builder
avoiding the need to create one manually viaRuleStringExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostringExpression(RuleStringExpression)
.- Parameters:
stringExpression
- a consumer that will call methods onRuleStringExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdictExpression
The condition applies to a verdict expression passed in this field.
- Parameters:
verdictExpression
- The condition applies to a verdict expression passed in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verdictExpression
default RuleCondition.Builder verdictExpression(Consumer<RuleVerdictExpression.Builder> verdictExpression) The condition applies to a verdict expression passed in this field.
This is a convenience method that creates an instance of theRuleVerdictExpression.Builder
avoiding the need to create one manually viaRuleVerdictExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toverdictExpression(RuleVerdictExpression)
.- Parameters:
verdictExpression
- a consumer that will call methods onRuleVerdictExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-