Interface PaginatableResourceListBuilder


  • @ProviderType
    public interface PaginatableResourceListBuilder
    An interface for creating ApiResponse instances. To create an ApiResponseBuilder instance use PaginatableResourceListBuilderFactory.getBuilder()
    • 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.
      • 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.