Class BooleanCondition
- java.lang.Object
-
- com.amazonaws.auth.policy.Condition
-
- 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.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.auth.policy.Condition
conditionKey, type, values
-
-
Constructor Summary
Constructors Constructor Description 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
-
-
-
-
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.
-
-