|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.auth.policy.Condition
com.amazonaws.auth.policy.conditions.StringCondition
public class StringCondition
String conditions let you constrain AWS access control policy statements using string matching rules.
Nested Class Summary | |
---|---|
static class |
StringCondition.StringComparisonType
Enumeration of the supported ways a string comparison can be evaluated. |
Constructor Summary | |
---|---|
StringCondition(StringCondition.StringComparisonType type,
java.lang.String key,
java.lang.String value)
Constructs a new access control policy condition that compares two strings. |
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 |
---|
public StringCondition(StringCondition.StringComparisonType type, java.lang.String key, java.lang.String value)
type
- The type of comparison to perform.key
- The access policy condition key specifying where to get the
first string for the comparison (ex: aws:UserAgent). See
ConditionFactory
for a list of the condition keys
available for all services.value
- The second string to compare against. When using
StringCondition.StringComparisonType.StringLike
or
StringCondition.StringComparisonType.StringNotLike
this may contain
the multi-character wildcard (*) or the single-character
wildcard (?).
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |