com.amazonaws.auth.policy.conditions
Class BooleanCondition

java.lang.Object
  extended by com.amazonaws.auth.policy.Condition
      extended by com.amazonaws.auth.policy.conditions.BooleanCondition

public class BooleanCondition
extends Condition

AWS access control policy condition that allows an access control statement to be conditionally applied based on a comparison of boolean values.


Constructor Summary
BooleanCondition(String key, boolean value)
          Constructs a new access policy condition that performs a boolean comparison.
 
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

BooleanCondition

public BooleanCondition(String key,
                        boolean value)
Constructs a new access policy condition that performs a boolean comparison.

Parameters:
key - The access policy condition key specifying where to get the first boolean value for the comparison (ex: aws:SecureTransport).
value - The boolean to compare against.


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