com.amazonaws.auth.policy.conditions
Class NumericCondition

java.lang.Object
  extended by com.amazonaws.auth.policy.Condition
      extended by 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
static class NumericCondition.NumericComparisonType
          Enumeration of the supported ways a numeric comparison can be evaluated
 
Constructor Summary
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.