public static enum CreateSessionDetails.KeyType extends Enum<CreateSessionDetails.KeyType> implements BmcEnum
The type of the key used to connect to the session. PUB is a standard public key in OpenSSH format.
Enum Constant and Description |
---|
Pub |
Modifier and Type | Method and Description |
---|---|
static CreateSessionDetails.KeyType |
create(String key) |
String |
getValue() |
static CreateSessionDetails.KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateSessionDetails.KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateSessionDetails.KeyType Pub
public static CreateSessionDetails.KeyType[] values()
for (CreateSessionDetails.KeyType c : CreateSessionDetails.KeyType.values()) System.out.println(c);
public static CreateSessionDetails.KeyType 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 CreateSessionDetails.KeyType create(String key)
Copyright © 2016–2024. All rights reserved.