com.google.api.server.spi.response
Class CollectionResponse.Builder<T>
- java.lang.Object
-
- com.google.api.server.spi.response.CollectionResponse.Builder<T>
-
- Enclosing class:
- CollectionResponse<T>
public static class CollectionResponse.Builder<T> extends java.lang.Object
Builder forCollectionResponse
.
-
-
Constructor Summary
Constructors Constructor and Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CollectionResponse<T>
build()
CollectionResponse.Builder<T>
setItems(java.util.Collection<T> items)
CollectionResponse.Builder<T>
setNextPageToken(java.lang.String nextPageToken)
-
-
-
Method Detail
-
setItems
public CollectionResponse.Builder<T> setItems(java.util.Collection<T> items)
-
setNextPageToken
public CollectionResponse.Builder<T> setNextPageToken(java.lang.String nextPageToken)
-
build
public CollectionResponse<T> build()
-
-