public static class PlatformStatsResponse.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PlatformStatsResponse.Builder |
addPlatformStatsObject(PlatformStats value)
Add a PlatformStats object for listing
|
PlatformStatsResponse.Builder |
addPlatformStatsObjects(java.lang.Iterable<? extends PlatformStats> value)
Add all PlatformStats objects for listing
|
PlatformStatsResponse |
build()
Build the PlatformStatsResponse object
|
PlatformStatsResponse.Builder |
setError(java.lang.String error)
Set the error
|
PlatformStatsResponse.Builder |
setErrorDetails(ErrorDetails errorDetails)
Set the errorDetails
|
PlatformStatsResponse.Builder |
setNextPage(java.lang.String value)
Set the next page
|
PlatformStatsResponse.Builder |
setOk(boolean value)
Set the ok status
|
public PlatformStatsResponse.Builder setNextPage(java.lang.String value)
value
- Stringpublic PlatformStatsResponse.Builder addPlatformStatsObject(PlatformStats value)
value
- PlatformStatspublic PlatformStatsResponse.Builder addPlatformStatsObjects(java.lang.Iterable<? extends PlatformStats> value)
value
- Iterable of PlatformStats objectspublic PlatformStatsResponse.Builder setOk(boolean value)
value
- booleanpublic PlatformStatsResponse.Builder setError(java.lang.String error)
error
- Stringpublic PlatformStatsResponse.Builder setErrorDetails(ErrorDetails errorDetails)
errorDetails
- Stringpublic PlatformStatsResponse build()