Package org.jclouds.dynect.v3.domain
Enum Zone.SerialStyle
- java.lang.Object
-
- java.lang.Enum<Zone.SerialStyle>
-
- org.jclouds.dynect.v3.domain.Zone.SerialStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<Zone.SerialStyle>
- Enclosing class:
- Zone
public static enum Zone.SerialStyle extends Enum<Zone.SerialStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY
Serials will be in the form of YYYYMMDDxx where xx is incremented by one for each change during that particular dayEPOCH
Serials will be the UNIX timestamp at the time of the publishINCREMENT
Serials are incremented by 1 on every changeMINUTE
Serials will be in the form of YYMMDDHHMMUNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Zone.SerialStyle
fromValue(String serialStyle)
String
toString()
static Zone.SerialStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static Zone.SerialStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCREMENT
public static final Zone.SerialStyle INCREMENT
Serials are incremented by 1 on every change
-
EPOCH
public static final Zone.SerialStyle EPOCH
Serials will be the UNIX timestamp at the time of the publish
-
DAY
public static final Zone.SerialStyle DAY
Serials will be in the form of YYYYMMDDxx where xx is incremented by one for each change during that particular day
-
MINUTE
public static final Zone.SerialStyle MINUTE
Serials will be in the form of YYMMDDHHMM
-
UNRECOGNIZED
public static final Zone.SerialStyle UNRECOGNIZED
-
-
Method Detail
-
values
public static Zone.SerialStyle[] 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 (Zone.SerialStyle c : Zone.SerialStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Zone.SerialStyle 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<Zone.SerialStyle>
-
fromValue
public static Zone.SerialStyle fromValue(String serialStyle)
-
-