Package com.google.cloud.dns
Enum Dns.RecordSetField
- java.lang.Object
-
- java.lang.Enum<Dns.RecordSetField>
-
- com.google.cloud.dns.Dns.RecordSetField
-
- All Implemented Interfaces:
com.google.cloud.FieldSelector
,Serializable
,Comparable<Dns.RecordSetField>
- Enclosing interface:
- Dns
public static enum Dns.RecordSetField extends Enum<Dns.RecordSetField> implements com.google.cloud.FieldSelector
The fields of a record set.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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DNS_RECORDS
NAME
TTL
TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSelector()
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.
-
-
-
Enum Constant Detail
-
DNS_RECORDS
public static final Dns.RecordSetField DNS_RECORDS
-
NAME
public static final Dns.RecordSetField NAME
-
TTL
public static final Dns.RecordSetField TTL
-
TYPE
public static final Dns.RecordSetField TYPE
-
-
Method Detail
-
values
public static Dns.RecordSetField[] 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.RecordSetField c : Dns.RecordSetField.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.RecordSetField 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
-
-