Package com.google.cloud.dns
Enum Dns.ZoneField
- java.lang.Object
-
- java.lang.Enum<Dns.ZoneField>
-
- com.google.cloud.dns.Dns.ZoneField
-
- All Implemented Interfaces:
com.google.cloud.FieldSelector
,Serializable
,Comparable<Dns.ZoneField>
- Enclosing interface:
- Dns
public static enum Dns.ZoneField extends Enum<Dns.ZoneField> implements com.google.cloud.FieldSelector
The fields of a zone.These values can be used to specify the fields to include in a partial response when calling
Dns.getZone(String, ZoneOption...)
. The name is always returned, even if not specified.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATION_TIME
DESCRIPTION
DNS_NAME
DNSSEC
LABELS
NAME
NAME_SERVER_SET
NAME_SERVERS
ZONE_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSelector()
static Dns.ZoneField
valueOf(String name)
Returns the enum constant of this type with the specified name.static Dns.ZoneField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATION_TIME
public static final Dns.ZoneField CREATION_TIME
-
DESCRIPTION
public static final Dns.ZoneField DESCRIPTION
-
DNS_NAME
public static final Dns.ZoneField DNS_NAME
-
ZONE_ID
public static final Dns.ZoneField ZONE_ID
-
NAME
public static final Dns.ZoneField NAME
-
NAME_SERVER_SET
public static final Dns.ZoneField NAME_SERVER_SET
-
NAME_SERVERS
public static final Dns.ZoneField NAME_SERVERS
-
DNSSEC
public static final Dns.ZoneField DNSSEC
-
LABELS
public static final Dns.ZoneField LABELS
-
-
Method Detail
-
values
public static Dns.ZoneField[] 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 (Dns.ZoneField c : Dns.ZoneField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dns.ZoneField 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
-
getSelector
public String getSelector()
- Specified by:
getSelector
in interfacecom.google.cloud.FieldSelector
-
-