Package com.google.cloud.dns
Class Dns.ZoneListOption
- java.lang.Object
-
- com.google.cloud.dns.Dns.ZoneListOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Dns
public static class Dns.ZoneListOption extends Object
Class for specifying zone listing options.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dns.ZoneListOption
dnsName(String dnsName)
Restricts the list to only zone with this fully qualified domain name.boolean
equals(Object obj)
static Dns.ZoneListOption
fields(Dns.ZoneField... fields)
Returns an option to specify the zones's fields to be returned by the RPC call.int
hashCode()
static Dns.ZoneListOption
pageSize(int pageSize)
The maximum number of zones to return per RPC.static Dns.ZoneListOption
pageToken(String pageToken)
Returns an option to specify a page token.String
toString()
-
-
-
Method Detail
-
fields
public static Dns.ZoneListOption 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.
-
pageToken
public static Dns.ZoneListOption pageToken(String pageToken)
Returns an option to specify a page token.The page token (returned from a previous call to list) indicates from where listing should continue.
-
dnsName
public static Dns.ZoneListOption dnsName(String dnsName)
Restricts the list to only zone with this fully qualified domain name.
-
pageSize
public static Dns.ZoneListOption pageSize(int pageSize)
The maximum number of zones to return per RPC.The server can return fewer zones than requested. When there are more results than the page size, the server will return a page token that can be used to fetch other results.
-
-