PageImpl<T> Class
- java.
lang. Object - com.
microsoft. azure. Page<T> - com.
microsoft. azure. batch. protocol. models. PageImpl<T>
- com.
- com.
Type Parameters
- T
type of Azure resource
public class PageImpl
An instance of this class defines a page of Azure resources and a link to get the next page of resources, if any.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<T> |
items()
Gets the list of items. |
String |
nextPageLink()
Gets the link to the next page. |
Page |
setItems(List<T> items)
Sets the list of items. |
Page |
setNextPageLink(String nextPageLink)
Sets the link to the next page. |
Method Details
items
public List
Gets the list of items.
Returns:
the list of items in List.
nextPageLink
public String nextPageLink()
Gets the link to the next page.
Returns:
the link to the next page.
setItems
public PageImpl
Sets the list of items.
Parameters:
items
- the list of items in List.
Returns:
this Page object itself.
setNextPageLink
public PageImpl
Sets the link to the next page.
Parameters:
nextPageLink
- the link to the next page.
Returns:
this Page object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java