public static enum Dns.RecordSetField extends Enum<Dns.RecordSetField> implements FieldSelector
These values can be used to specify the fields to include in a partial response when calling
Dns.listRecordSets(String, RecordSetListOption...)
. The name and type are always
returned even if not selected.
FieldSelector.Helper
Enum Constant and Description |
---|
DNS_RECORDS |
NAME |
TTL |
TYPE |
Modifier and Type | Method and Description |
---|---|
String |
getSelector()
Returns a string selector.
|
static Dns.RecordSetField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dns.RecordSetField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dns.RecordSetField DNS_RECORDS
public static final Dns.RecordSetField NAME
public static final Dns.RecordSetField TTL
public static final Dns.RecordSetField TYPE
public static Dns.RecordSetField[] values()
for (Dns.RecordSetField c : Dns.RecordSetField.values()) System.out.println(c);
public static Dns.RecordSetField 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()
FieldSelector
getSelector
in interface FieldSelector
Copyright © 2019 Google LLC. All rights reserved.