Package com.amazonaws.auth.policy
Enum Principal.Services
- All Implemented Interfaces:
Serializable
,Comparable<Principal.Services>
,java.lang.constant.Constable
- Enclosing class:
Principal
The services who have the right to do the assume the role
action. The AssumeRole action returns a set of temporary security
credentials that you can use to access resources that are defined in the
role's policy. The returned credentials consist of an Access Key ID, a
Secret Access Key, and a security token.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Principal.Services
fromString
(String serviceId) Construct the Services object from a string representing the service id.static Principal.Services
Returns the enum constant of this type with the specified name.static Principal.Services[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AWSDataPipeline
-
AmazonElasticTranscoder
-
AmazonEC2
-
AWSOpsWorks
-
AWSCloudHSM
-
AllServices
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getServiceId
-
fromString
Construct the Services object from a string representing the service id.
-