public enum AccountIdEndpointMode extends Enum<AccountIdEndpointMode>
Enum Constant and Description |
---|
DISABLED
Disabled mode for AccountEndpointIdMode disables account based endpoint routing and will always route requests to the
regional endpoint
|
PREFERRED
The default mode that sets the AccountEndpointIdMode as preferred which enables account based endpoint routing
but can fall back to routing to the regional endpoint in the absence of account endpoint support
|
REQUIRED
Required mode for AccountEndpointIdMode will always route the requests to the account based endpoint
|
Modifier and Type | Method and Description |
---|---|
static AccountIdEndpointMode |
fromName(String value)
Returns a accountEndpointId mode enum corresponding to the given accountEndpointId name.
|
String |
getName() |
static AccountIdEndpointMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountIdEndpointMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountIdEndpointMode PREFERRED
public static final AccountIdEndpointMode DISABLED
public static final AccountIdEndpointMode REQUIRED
public static AccountIdEndpointMode[] values()
for (AccountIdEndpointMode c : AccountIdEndpointMode.values()) System.out.println(c);
public static AccountIdEndpointMode 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 String getName()
public static AccountIdEndpointMode fromName(String value)
value
- The name of the accountEndpointId mode