Package com.ibm.cloud.cloudant.v1.model
Class GetDbUpdatesOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GetDbUpdatesOptions.Builder
-
- Enclosing class:
- GetDbUpdatesOptions
public static class GetDbUpdatesOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDbUpdatesOptions
build()
Builds a GetDbUpdatesOptions.GetDbUpdatesOptions.Builder
feed(String feed)
Set the feed.GetDbUpdatesOptions.Builder
heartbeat(long heartbeat)
Set the heartbeat.GetDbUpdatesOptions.Builder
since(String since)
Set the since.GetDbUpdatesOptions.Builder
timeout(long timeout)
Set the timeout.
-
-
-
Method Detail
-
build
public GetDbUpdatesOptions build()
Builds a GetDbUpdatesOptions.- Returns:
- the new GetDbUpdatesOptions instance
-
feed
public GetDbUpdatesOptions.Builder feed(String feed)
Set the feed.- Parameters:
feed
- the feed- Returns:
- the GetDbUpdatesOptions builder
-
heartbeat
public GetDbUpdatesOptions.Builder heartbeat(long heartbeat)
Set the heartbeat.- Parameters:
heartbeat
- the heartbeat- Returns:
- the GetDbUpdatesOptions builder
-
timeout
public GetDbUpdatesOptions.Builder timeout(long timeout)
Set the timeout.- Parameters:
timeout
- the timeout- Returns:
- the GetDbUpdatesOptions builder
-
since
public GetDbUpdatesOptions.Builder since(String since)
Set the since.- Parameters:
since
- the since- Returns:
- the GetDbUpdatesOptions builder
-
-