public enum AccountKeyType extends Enum<AccountKeyType>
Enum Constant and Description |
---|
PRIMARY
Enum value Primary.
|
SECONDARY
Enum value Secondary.
|
Modifier and Type | Method and Description |
---|---|
static AccountKeyType |
fromString(String value)
Parses a serialized value to a AccountKeyType instance.
|
String |
toString() |
static AccountKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountKeyType PRIMARY
public static final AccountKeyType SECONDARY
public static AccountKeyType[] values()
for (AccountKeyType c : AccountKeyType.values()) System.out.println(c);
public static AccountKeyType 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 AccountKeyType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<AccountKeyType>
Copyright © 2019. All rights reserved.