public static class GetFeedRequest.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GetFeedRequest |
build() |
GetFeedRequest.Builder |
withEagerFetching(boolean eagerFetching) |
GetFeedRequest.Builder |
withFeed(String feedName) |
GetFeedRequest.Builder |
withLimit(int limit) |
GetFeedRequest.Builder |
withSubscriptionPollDelay(Duration pollDelay) |
GetFeedRequest.Builder |
withTenantId(UUID tenantId) |
public GetFeedRequest.Builder withFeed(String feedName)
public GetFeedRequest.Builder withTenantId(UUID tenantId)
public GetFeedRequest.Builder withLimit(int limit)
limit - Maximum number of returned feed entries per server response.public GetFeedRequest.Builder withEagerFetching(boolean eagerFetching)
eagerFetching - True if the client should continue to fetch event within the same poll as long as there
are more available. Default is true.public GetFeedRequest.Builder withSubscriptionPollDelay(Duration pollDelay)
pollDelay - Desired delay between feed polls. Must be between 1s and 60s. Default is 1s.public GetFeedRequest build()
Copyright © 2020. All rights reserved.