Class WatchResponse.Builder
- java.lang.Object
-
- com.rivet.api.resources.common.types.WatchResponse.Builder
-
- All Implemented Interfaces:
WatchResponse._FinalStage,WatchResponse.IndexStage
- Enclosing class:
- WatchResponse
public static final class WatchResponse.Builder extends java.lang.Object implements WatchResponse.IndexStage, WatchResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WatchResponsebuild()WatchResponse.Builderfrom(WatchResponse other)WatchResponse._FinalStageindex(java.lang.String index)Index indicating the version of the data responded.
-
-
-
Method Detail
-
from
public WatchResponse.Builder from(WatchResponse other)
- Specified by:
fromin interfaceWatchResponse.IndexStage
-
index
public WatchResponse._FinalStage index(java.lang.String index)
Index indicating the version of the data responded. Pass this to
WatchQueryto block and wait for the next response.- Specified by:
indexin interfaceWatchResponse.IndexStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public WatchResponse build()
- Specified by:
buildin interfaceWatchResponse._FinalStage
-
-