Enum PolicyGrantPrincipal.Type
- java.lang.Object
-
- java.lang.Enum<PolicyGrantPrincipal.Type>
-
- software.amazon.awssdk.services.datazone.model.PolicyGrantPrincipal.Type
-
- All Implemented Interfaces:
Serializable,Comparable<PolicyGrantPrincipal.Type>
- Enclosing class:
- PolicyGrantPrincipal
public static enum PolicyGrantPrincipal.Type extends Enum<PolicyGrantPrincipal.Type>
- See Also:
PolicyGrantPrincipal.type()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOMAIN_UNITGROUPPROJECTUNKNOWN_TO_SDK_VERSIONUSER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyGrantPrincipal.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static PolicyGrantPrincipal.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOMAIN_UNIT
public static final PolicyGrantPrincipal.Type DOMAIN_UNIT
-
GROUP
public static final PolicyGrantPrincipal.Type GROUP
-
PROJECT
public static final PolicyGrantPrincipal.Type PROJECT
-
USER
public static final PolicyGrantPrincipal.Type USER
-
UNKNOWN_TO_SDK_VERSION
public static final PolicyGrantPrincipal.Type UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static PolicyGrantPrincipal.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PolicyGrantPrincipal.Type c : PolicyGrantPrincipal.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyGrantPrincipal.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-