public enum Metadata extends Enum<Metadata>
Enum Constant and Description |
---|
CREDENTIALS
If the dataset you create a machine from is set to generate passwords for
you, the username/password pairs will be returned in the metadata response
as a nested object, like:
|
ROOT_AUTHORIZED_KEYS |
Modifier and Type | Method and Description |
---|---|
String |
key() |
Type |
type()
type of the value;
|
static Metadata |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metadata[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metadata ROOT_AUTHORIZED_KEYS
public static final Metadata CREDENTIALS
"credentials": { "root": "s8v9kuht5e", "admin": "mf4bteqhpy" }
public static Metadata[] values()
for (Metadata c : Metadata.values()) System.out.println(c);
public static Metadata 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 key()
public Type type()
Copyright © 2009-2013 jclouds. All Rights Reserved.