Class PartialListResponse.PartialListResponseBuilder<T extends ResourceNode>
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.server.response.PartialListResponse.PartialListResponseBuilder<T>
-
- Enclosing class:
- PartialListResponse<T extends ResourceNode>
public static class PartialListResponse.PartialListResponseBuilder<T extends ResourceNode> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialListResponse<T>build()PartialListResponse.PartialListResponseBuilder<T>resources(List<T> resources)the resources that have extracted at the listResources methodStringtoString()PartialListResponse.PartialListResponseBuilder<T>totalResults(long totalResults)the total number of results the given query request has found.
-
-
-
Method Detail
-
resources
public PartialListResponse.PartialListResponseBuilder<T> resources(List<T> resources)
the resources that have extracted at the listResources method- Returns:
this.
-
totalResults
public PartialListResponse.PartialListResponseBuilder<T> totalResults(long totalResults)
the total number of results the given query request has found. This value should be known by the client since the found number of results might exceed the maximum number of results so the client will be able to use paging mechanisms- Returns:
this.
-
build
public PartialListResponse<T> build()
-
-