Package com.google.cloud.dns
Enum Dns.ChangeRequestField
- java.lang.Object
-
- java.lang.Enum<Dns.ChangeRequestField>
-
- com.google.cloud.dns.Dns.ChangeRequestField
-
- All Implemented Interfaces:
com.google.cloud.FieldSelector
,Serializable
,Comparable<Dns.ChangeRequestField>
- Enclosing interface:
- Dns
public static enum Dns.ChangeRequestField extends Enum<Dns.ChangeRequestField> implements com.google.cloud.FieldSelector
The fields of a change request.These values can be used to specify the fields to include in a partial response when calling
Dns.applyChangeRequest(String, ChangeRequestInfo, ChangeRequestOption...)
The ID is always returned even if not selected.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONS
DELETIONS
ID
START_TIME
STATUS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSelector()
static Dns.ChangeRequestField
valueOf(String name)
Returns the enum constant of this type with the specified name.static Dns.ChangeRequestField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final Dns.ChangeRequestField ID
-
START_TIME
public static final Dns.ChangeRequestField START_TIME
-
STATUS
public static final Dns.ChangeRequestField STATUS
-
ADDITIONS
public static final Dns.ChangeRequestField ADDITIONS
-
DELETIONS
public static final Dns.ChangeRequestField DELETIONS
-
-
Method Detail
-
values
public static Dns.ChangeRequestField[] 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.ChangeRequestField c : Dns.ChangeRequestField.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.ChangeRequestField 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
-
-