Package com.collibra.dgc.core.api.dto
Class CursorPagedResponse.Builder<T>
- Object
-
- Builder<T>
-
- Enclosing class:
- CursorPagedResponse<T>
public static class CursorPagedResponse.Builder<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CursorPagedResponse<T>
build()
CursorPagedResponse.Builder<T>
limit(long limit)
CursorPagedResponse.Builder<T>
nextCursor(String nextCursor)
CursorPagedResponse.Builder<T>
offset(long offset)
CursorPagedResponse.Builder<T>
results(List<T> results)
String
toString()
CursorPagedResponse.Builder<T>
total(long total)
-
-
-
Method Detail
-
nextCursor
public CursorPagedResponse.Builder<T> nextCursor(String nextCursor)
- Returns:
this
.
-
results
public CursorPagedResponse.Builder<T> results(List<T> results)
- Returns:
this
.
-
total
public CursorPagedResponse.Builder<T> total(long total)
- Returns:
this
.
-
offset
public CursorPagedResponse.Builder<T> offset(long offset)
- Returns:
this
.
-
limit
public CursorPagedResponse.Builder<T> limit(long limit)
- Returns:
this
.
-
build
public CursorPagedResponse<T> build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-