Package com.google.cloud.dns
Class Dns.RecordSetListOption
- java.lang.Object
-
- com.google.cloud.dns.Dns.RecordSetListOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Dns
public static class Dns.RecordSetListOption extends Object
Class for specifying record set listing options.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dns.RecordSetListOption
dnsName(String dnsName)
Restricts the list to only record sets with this fully qualified domain name.boolean
equals(Object obj)
static Dns.RecordSetListOption
fields(Dns.RecordSetField... fields)
Returns an option to specify the record set's fields to be returned by the RPC call.int
hashCode()
static Dns.RecordSetListOption
pageSize(int pageSize)
The maximum number of record sets to return per RPC.static Dns.RecordSetListOption
pageToken(String pageToken)
Returns an option to specify a page token.String
toString()
static Dns.RecordSetListOption
type(RecordSet.Type type)
Restricts the list to return only record sets of this type.
-
-
-
Method Detail
-
fields
public static Dns.RecordSetListOption fields(Dns.RecordSetField... fields)
Returns an option to specify the record set's fields to be returned by the RPC call.If this option is not provided all record fields are returned.
RecordSetField.fields
can be used to specify only the fields of interest. The name of the record set in always returned, even if not specified.Dns.RecordSetField
provides a list of fields that can be used.
-
pageToken
public static Dns.RecordSetListOption 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.RecordSetListOption pageSize(int pageSize)
The maximum number of record sets to return per RPC.The server can return fewer record sets 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.
-
dnsName
public static Dns.RecordSetListOption dnsName(String dnsName)
Restricts the list to only record sets with this fully qualified domain name.
-
type
public static Dns.RecordSetListOption type(RecordSet.Type type)
Restricts the list to return only record sets of this type. If present,dnsName(String)
must also be present.
-
-