Class NumericCondition
java.lang.Object
com.amazonaws.auth.policy.Condition
com.amazonaws.auth.policy.conditions.NumericCondition
AWS access control policy condition that allows an access control statement to be
conditionally applied based on a numeric comparison.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
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
ConstructorsConstructorDescriptionNumericCondition
(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 Details
-
NumericCondition
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.
-