Package com.google.cloud.dns
Class Dns.ChangeRequestListOption
- java.lang.Object
-
- com.google.cloud.dns.Dns.ChangeRequestListOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Dns
public static class Dns.ChangeRequestListOption extends Object
Class for specifying change request listing 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.ChangeRequestListOption
fields(Dns.ChangeRequestField... fields)
Returns an option to specify which fields ofChangeRequest
should be returned by the service.int
hashCode()
static Dns.ChangeRequestListOption
pageSize(int pageSize)
The maximum number of change requests to return per RPC.static Dns.ChangeRequestListOption
pageToken(String pageToken)
Returns an option to specify a page token.static Dns.ChangeRequestListOption
sortOrder(Dns.SortingOrder order)
Returns an option to specify whether the the change requests should be listed in ascending (most-recent last) or descending (most-recent first) order with respect to when the change request was accepted by the server.String
toString()
-
-
-
Method Detail
-
fields
public static Dns.ChangeRequestListOption fields(Dns.ChangeRequestField... fields)
Returns an option to specify which fields ofChangeRequest
should be returned by the service.If this option is not provided all change request fields are returned.
ChangeRequestOption.fields
can be used to specify only the fields of interest. The ID of the change request is always returned, even if not specified.Dns.ChangeRequestField
provides a list of fields that can be used.
-
pageToken
public static Dns.ChangeRequestListOption 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.
-
pageSize
public static Dns.ChangeRequestListOption pageSize(int pageSize)
The maximum number of change requests to return per RPC.The server can return fewer change requests 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.
-
sortOrder
public static Dns.ChangeRequestListOption sortOrder(Dns.SortingOrder order)
Returns an option to specify whether the the change requests should be listed in ascending (most-recent last) or descending (most-recent first) order with respect to when the change request was accepted by the server. If this option is not provided, the listing order is undefined.
-
-