public static final class NumericConditions.Builder
extends java.lang.Object
NumericConditions
Constructor and Description |
---|
Builder() |
public NumericConditions.Builder allowlist(java.util.List<? extends java.lang.Number> allowlist)
NumericConditions.getAllowlist()
allowlist
- Match one or more values.this
public NumericConditions.Builder between(BetweenCondition between)
NumericConditions.getBetween()
between
- Match values that are between the specified values.this
public NumericConditions.Builder betweenStrict(BetweenCondition betweenStrict)
NumericConditions.getBetweenStrict()
betweenStrict
- Match values that are strictly between the specified values.this
public NumericConditions.Builder greaterThan(java.lang.Number greaterThan)
NumericConditions.getGreaterThan()
greaterThan
- Match values that are greater than the specified value.this
public NumericConditions.Builder greaterThanOrEqualTo(java.lang.Number greaterThanOrEqualTo)
NumericConditions.getGreaterThanOrEqualTo()
greaterThanOrEqualTo
- Match values that are greater than or equal to the specified value.this
public NumericConditions.Builder lessThan(java.lang.Number lessThan)
NumericConditions.getLessThan()
lessThan
- Match values that are less than the specified value.this
public NumericConditions.Builder lessThanOrEqualTo(java.lang.Number lessThanOrEqualTo)
NumericConditions.getLessThanOrEqualTo()
lessThanOrEqualTo
- Match values that are less than or equal to the specified value.this
@Deprecated public NumericConditions.Builder whitelist(java.util.List<? extends java.lang.Number> whitelist)
NumericConditions.getWhitelist()
whitelist
- Match one or more values.this
public NumericConditions build()
NumericConditions
java.lang.NullPointerException
- if any required attribute was not provided