public enum SignerFactory extends Enum<SignerFactory>
Modifier and Type | Method and Description |
---|---|
static Signer |
getSigner(String serviceName)
Returns a non-null signer for the specified service.
|
static Signer |
getSigner(String serviceName,
String regionName)
Returns a non-null signer for the specified service and region.
|
static SignerFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignerFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static SignerFactory[] values()
for (SignerFactory c : SignerFactory.values()) System.out.println(c);
public static SignerFactory 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 Signer getSigner(String serviceName, String regionName)
UnsupportedOperationException
- if the internal signer type configured is not currently
supported.public static Signer getSigner(String serviceName)
UnsupportedOperationException
- if the internal signer type configured is not currently
supported.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.