Serializable, Comparable<Statement.Effect>public static enum Statement.Effect extends Enum<Statement.Effect>
| Modifier and Type | Method | Description |
|---|---|---|
static Statement.Effect |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Statement.Effect[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Statement.Effect Allow
public static final Statement.Effect Deny
public static Statement.Effect[] values()
for (Statement.Effect c : Statement.Effect.values()) System.out.println(c);
public static Statement.Effect valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.