Interface RuleIpExpression.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleIpExpression.Builder,,RuleIpExpression> SdkBuilder<RuleIpExpression.Builder,,RuleIpExpression> SdkPojo
- Enclosing class:
RuleIpExpression
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleIpExpression.Builderevaluate(Consumer<RuleIpToEvaluate.Builder> evaluate) The IP address to evaluate in this condition.evaluate(RuleIpToEvaluate evaluate) The IP address to evaluate in this condition.The operator to evaluate the IP address.operator(RuleIpOperator operator) The operator to evaluate the IP address.The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address.values(Collection<String> values) The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address.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, sdkFields
-
Method Details
-
evaluate
The IP address to evaluate in this condition.
- Parameters:
evaluate- The IP address to evaluate in this condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluate
The IP address to evaluate in this condition.
This is a convenience method that creates an instance of theRuleIpToEvaluate.Builderavoiding the need to create one manually viaRuleIpToEvaluate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluate(RuleIpToEvaluate).- Parameters:
evaluate- a consumer that will call methods onRuleIpToEvaluate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
The operator to evaluate the IP address.
- Parameters:
operator- The operator to evaluate the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
The operator to evaluate the IP address.
- Parameters:
operator- The operator to evaluate the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
values
The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.
- Parameters:
values- The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.
- Parameters:
values- The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-