Class PNHistoryResult.PNHistoryResultBuilder
- java.lang.Object
-
- com.pubnub.api.models.consumer.history.PNHistoryResult.PNHistoryResultBuilder
-
- Enclosing class:
- PNHistoryResult
public static class PNHistoryResult.PNHistoryResultBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PNHistoryResult
build()
PNHistoryResult.PNHistoryResultBuilder
endTimetoken(java.lang.Long endTimetoken)
PNHistoryResult.PNHistoryResultBuilder
messages(java.util.List<PNHistoryItemResult> messages)
PNHistoryResult.PNHistoryResultBuilder
startTimetoken(java.lang.Long startTimetoken)
java.lang.String
toString()
-
-
-
Method Detail
-
messages
public PNHistoryResult.PNHistoryResultBuilder messages(java.util.List<PNHistoryItemResult> messages)
- Returns:
this
.
-
startTimetoken
public PNHistoryResult.PNHistoryResultBuilder startTimetoken(java.lang.Long startTimetoken)
- Returns:
this
.
-
endTimetoken
public PNHistoryResult.PNHistoryResultBuilder endTimetoken(java.lang.Long endTimetoken)
- Returns:
this
.
-
build
public PNHistoryResult build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-