Package com.adobe.granite.haf.api
Interface PaginatableResourceListBuilder
- 
@ProviderType public interface PaginatableResourceListBuilder
An interface for creating ApiResponse instances. To create an ApiResponseBuilder instance use PaginatableResourceListBuilderFactory.getBuilder() 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PaginatableResourceListbuild()Build the PaginatableResourceList.PaginatableResourceListBuildersetCount(int count)Set the count.PaginatableResourceListBuildersetNextOffsetValue(java.lang.String value)Set the next offset value.PaginatableResourceListBuildersetResources(java.util.List<Resource> resources)Set the list of resources. 
 - 
 
- 
- 
Method Detail
- 
setNextOffsetValue
PaginatableResourceListBuilder setNextOffsetValue(java.lang.String value)
Set the next offset value.- Parameters:
 value- The value of the next offset.- Returns:
 - This builder object.
 
 
- 
setCount
PaginatableResourceListBuilder setCount(int count)
Set the count.- Parameters:
 count- The count.- Returns:
 - This builder object.
 
 
- 
setResources
PaginatableResourceListBuilder setResources(java.util.List<Resource> resources)
Set the list of resources.- Parameters:
 resources- The list of resources.- Returns:
 - This builder object.
 
 
- 
build
PaginatableResourceList build()
Build the PaginatableResourceList.- Returns:
 - The new PaginatableResourceList.
 
 
 - 
 
 -