public enum ContainerFormat extends Enum<ContainerFormat>
BARE
as the container format if you are
unsure.Enum Constant and Description |
---|
AKI
This indicates what is stored in Glance is an Amazon kernel image
|
AMI
This indicates what is stored in Glance is an Amazon machine image
|
ARI
This indicates what is stored in Glance is an Amazon ramdisk image
|
BARE
This indicates there is no container or metadata envelope for the image
|
OVF
This is the OVF container format
|
UNRECOGNIZED
Type unknown to jclouds
|
Modifier and Type | Method and Description |
---|---|
static ContainerFormat |
fromValue(String containerFormat) |
String |
toString() |
String |
value() |
static ContainerFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerFormat BARE
public static final ContainerFormat OVF
public static final ContainerFormat AKI
public static final ContainerFormat ARI
public static final ContainerFormat AMI
public static final ContainerFormat UNRECOGNIZED
public static ContainerFormat[] values()
for (ContainerFormat c : ContainerFormat.values()) System.out.println(c);
public static ContainerFormat 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 value()
public String toString()
toString
in class Enum<ContainerFormat>
public static ContainerFormat fromValue(String containerFormat)
Copyright © 2009-2013 jclouds. All Rights Reserved.