Class DnszonesPager
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.DnszonesPager
-
public class DnszonesPager extends Object
DnszonesPager can be used to simplify the use of the "listDnszones" method.
-
-
Constructor Summary
Constructors Constructor Description DnszonesPager(DnsSvcs client, ListDnszonesOptions options)
Constructs a new DnszonesPager instance with the specified client and options model instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Dnszone>
getAll()
Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.List<Dnszone>
getNext()
Returns the next page of results.boolean
hasNext()
Returns true if there are more results to be retrieved.
-
-
-
Constructor Detail
-
DnszonesPager
public DnszonesPager(DnsSvcs client, ListDnszonesOptions options)
Constructs a new DnszonesPager instance with the specified client and options model instance.- Parameters:
client
- the DnsSvcs instance to be used to invoke the "listDnszones" methodoptions
- the ListDnszonesOptions instance to be used to invoke the "listDnszones" method
-
-