public static enum Principal.Service extends Enum<Principal.Service>
Enum Constant and Description |
---|
AllServices |
AmazonEC2 |
AmazonElasticTranscoder |
AWSCloudHSM |
AWSDataPipeline |
AWSOpsWorks |
Modifier and Type | Method and Description |
---|---|
static Principal.Service |
fromString(String serviceId)
Construct the Services object from a string representing the service id.
|
String |
getServiceId() |
static Principal.Service |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Principal.Service[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Principal.Service AWSDataPipeline
public static final Principal.Service AmazonElasticTranscoder
public static final Principal.Service AmazonEC2
public static final Principal.Service AWSOpsWorks
public static final Principal.Service AWSCloudHSM
public static final Principal.Service AllServices
public static Principal.Service[] values()
for (Principal.Service c : Principal.Service.values()) System.out.println(c);
public static Principal.Service 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 static Principal.Service fromString(String serviceId)
public String getServiceId()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.