Package org.openstack4j.model.image.v2
Enum Image.ImageVisibility
- java.lang.Object
-
- java.lang.Enum<Image.ImageVisibility>
-
- org.openstack4j.model.image.v2.Image.ImageVisibility
-
- All Implemented Interfaces:
Serializable,Comparable<Image.ImageVisibility>
- Enclosing interface:
- Image
public static enum Image.ImageVisibility extends Enum<Image.ImageVisibility>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Image.ImageVisibilityforValue(String value)Stringvalue()static Image.ImageVisibilityvalueOf(String name)Returns the enum constant of this type with the specified name.static Image.ImageVisibility[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final Image.ImageVisibility PUBLIC
-
PRIVATE
public static final Image.ImageVisibility PRIVATE
-
UNKNOWN
public static final Image.ImageVisibility UNKNOWN
-
-
Method Detail
-
values
public static Image.ImageVisibility[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Image.ImageVisibility c : Image.ImageVisibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Image.ImageVisibility valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forValue
public static Image.ImageVisibility forValue(String value)
-
value
public String value()
-
-