public class RestoresPager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ResourceConfiguration |
client |
protected boolean |
hasNext |
protected ListRestoresOptions |
options |
protected com.ibm.cloud.objectstorage.config.resource_configuration.v1.model.RestoresPager.PageContext |
pageContext |
Modifier | Constructor and Description |
---|---|
protected |
RestoresPager() |
|
RestoresPager(ResourceConfiguration client,
ListRestoresOptions options)
Constructs a new RestoresPager instance with the specified client and options model instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Restore> |
getAll()
Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.
|
java.util.List<Restore> |
getNext()
Returns the next page of results.
|
boolean |
hasNext()
Returns true if there are more results to be retrieved.
|
protected boolean hasNext
protected ListRestoresOptions options
protected ResourceConfiguration client
protected com.ibm.cloud.objectstorage.config.resource_configuration.v1.model.RestoresPager.PageContext pageContext
protected RestoresPager()
public RestoresPager(ResourceConfiguration client, ListRestoresOptions options)
client
- the ResourceConfiguration instance to be used to invoke the "listRestores" methodoptions
- the ListRestoresOptions instance to be used to invoke the "listRestores" methodpublic boolean hasNext()
public java.util.List<Restore> getNext()
public java.util.List<Restore> getAll()
Copyright © 2025. All rights reserved.