public static enum Principal.Services extends java.lang.Enum<Principal.Services>
Enum Constant and Description |
---|
AllServices
All services.
|
AmazonEC2
Amazon EC2.
|
AmazonElasticTranscoder
Amazon Elastic Transcoder.
|
AWSCloudHSM
AWS Cloud HSM.
|
AWSDataPipeline
AWS Data Pipeline.
|
AWSOpsWorks
AWS Ops Works.
|
Modifier and Type | Method and Description |
---|---|
static Principal.Services |
fromString(java.lang.String serviceId)
Construct the Services object from a string representing the service
id.
|
java.lang.String |
getServiceId() |
static Principal.Services |
valueOf(java.lang.String name)
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.
|
public static final Principal.Services AWSDataPipeline
public static final Principal.Services AmazonElasticTranscoder
public static final Principal.Services AmazonEC2
public static final Principal.Services AWSOpsWorks
public static final Principal.Services AWSCloudHSM
public static final Principal.Services AllServices
public static Principal.Services[] values()
for (Principal.Services c : Principal.Services.values()) System.out.println(c);
public static Principal.Services valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getServiceId()
public static Principal.Services fromString(java.lang.String serviceId)
serviceId
- the service ID.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.