Class NumericCondition
- java.lang.Object
-
- com.amazonaws.auth.policy.Condition
-
- com.amazonaws.auth.policy.conditions.NumericCondition
-
public class NumericCondition extends Condition
AWS access control policy condition that allows an access control statement to be conditionally applied based on a numeric comparison.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NumericCondition.NumericComparisonType
Enumeration of the supported ways a numeric comparison can be evaluated
-
Field Summary
-
Fields inherited from class com.amazonaws.auth.policy.Condition
conditionKey, type, values
-
-
Constructor Summary
Constructors Constructor Description NumericCondition(NumericCondition.NumericComparisonType type, String key, String value)
Constructs a new access policy condition that compares two numbers.
-
Method Summary
-
Methods inherited from class com.amazonaws.auth.policy.Condition
getConditionKey, getType, getValues, setConditionKey, setType, setValues, withConditionKey, withType, withValues, withValues
-
-
-
-
Constructor Detail
-
NumericCondition
public NumericCondition(NumericCondition.NumericComparisonType type, String key, String value)
Constructs a new access policy condition that compares two numbers.- Parameters:
type
- The type of comparison to perform.key
- The access policy condition key specifying where to get the first number for the comparison.value
- The second number to compare against.
-
-