public static class EventStreamConfig.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventStreamConfig |
build() |
EventStreamConfig.Builder |
withBatchLimit(java.lang.Integer batchLimit) |
EventStreamConfig.Builder |
withBatchTimeout(java.lang.Integer batchTimeout) |
EventStreamConfig.Builder |
withCursors(java.util.Map<java.lang.String,java.lang.String> cursors) |
EventStreamConfig.Builder |
withStreamKeepAliveLimit(java.lang.Integer streamKeepAliveLimit) |
EventStreamConfig.Builder |
withStreamLimit(java.lang.Integer streamLimit) |
EventStreamConfig.Builder |
withStreamTimeout(java.lang.Integer streamTimeout) |
EventStreamConfig.Builder |
withTopic(java.lang.String topic) |
public EventStreamConfig.Builder withTopic(java.lang.String topic)
public EventStreamConfig.Builder withCursors(java.util.Map<java.lang.String,java.lang.String> cursors)
public EventStreamConfig.Builder withBatchLimit(@Nullable java.lang.Integer batchLimit)
public EventStreamConfig.Builder withStreamLimit(@Nullable java.lang.Integer streamLimit)
public EventStreamConfig.Builder withBatchTimeout(@Nullable java.lang.Integer batchTimeout)
public EventStreamConfig.Builder withStreamTimeout(@Nullable java.lang.Integer streamTimeout)
public EventStreamConfig.Builder withStreamKeepAliveLimit(@Nullable java.lang.Integer streamKeepAliveLimit)
public EventStreamConfig build() throws UnprocessableEntityException
UnprocessableEntityException