@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum PolicySourceType extends Enum<PolicySourceType>
Enum Constant and Description |
---|
AwsManaged |
Group |
None |
Resource |
Role |
User |
UserManaged |
Modifier and Type | Method and Description |
---|---|
static PolicySourceType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static PolicySourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicySourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicySourceType User
public static final PolicySourceType Group
public static final PolicySourceType Role
public static final PolicySourceType AwsManaged
public static final PolicySourceType UserManaged
public static final PolicySourceType Resource
public static final PolicySourceType None
public static PolicySourceType[] values()
for (PolicySourceType c : PolicySourceType.values()) System.out.println(c);
public static PolicySourceType 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 nullpublic String toString()
toString
in class Enum<PolicySourceType>
public static PolicySourceType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.