Class SubnetsPager
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.SubnetsPager
SubnetsPager can be used to simplify the use of the "listSubnets" method.
-
Constructor Summary
ConstructorsConstructorDescriptionSubnetsPager
(Vpc client, ListSubnetsOptions options) Constructs a new SubnetsPager instance with the specified client and options model instance. -
Method Summary
-
Constructor Details
-
SubnetsPager
Constructs a new SubnetsPager instance with the specified client and options model instance.- Parameters:
client
- the Vpc instance to be used to invoke the "listSubnets" methodoptions
- the ListSubnetsOptions instance to be used to invoke the "listSubnets" method
-
-
Method Details
-
hasNext
public boolean hasNext()Returns true if there are more results to be retrieved.- Returns:
- boolean
-
getNext
-
getAll
-