Package com.google.cloud.dns
Class Dns.ZoneOption
- java.lang.Object
-
- com.google.cloud.dns.Dns.ZoneOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Dns
public static class Dns.ZoneOption extends Object
Class for specifying zone field options.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Dns.ZoneOption
fields(Dns.ZoneField... fields)
Returns an option to specify the zones's fields to be returned by the RPC call.int
hashCode()
String
toString()
-
-
-
Method Detail
-
fields
public static Dns.ZoneOption fields(Dns.ZoneField... fields)
Returns an option to specify the zones's fields to be returned by the RPC call.If this option is not provided all zone fields are returned.
ZoneOption.fields
can be used to specify only the fields of interest. Zone ID is always returned, even if not specified.Dns.ZoneField
provides a list of fields that can be used.
-
-