public static enum Dns.ZoneField extends Enum<Dns.ZoneField> implements com.google.cloud.FieldSelector
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 and Description |
---|
CREATION_TIME |
DESCRIPTION |
DNS_NAME |
NAME |
NAME_SERVER_SET |
NAME_SERVERS |
ZONE_ID |
Modifier and Type | Method and 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.
|
public static final Dns.ZoneField CREATION_TIME
public static final Dns.ZoneField DESCRIPTION
public static final Dns.ZoneField DNS_NAME
public static final Dns.ZoneField ZONE_ID
public static final Dns.ZoneField NAME
public static final Dns.ZoneField NAME_SERVER_SET
public static final Dns.ZoneField NAME_SERVERS
public static Dns.ZoneField[] values()
for (Dns.ZoneField c : Dns.ZoneField.values()) System.out.println(c);
public static Dns.ZoneField 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 getSelector()
getSelector
in interface com.google.cloud.FieldSelector
Copyright © 2019 Google LLC. All rights reserved.