public static class EventStreamConfig.Builder extends Object
EventStreamConfig c = EventStreamConfig.builder()
.setEventStreamConfigLoader("https://meta.wikimedia.org/w/api.php")
.setEventServiceToUriMap("file:///path/to/event_service_map.yaml")
.build()
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EventStreamConfig |
build()
Returns a new EventStreamConfig.
|
EventStreamConfig.Builder |
setEventServiceToUriMap(Map<String,URI> eventServiceToUriMap) |
EventStreamConfig.Builder |
setEventServiceToUriMap(String eventServiceToUriMapUri) |
EventStreamConfig.Builder |
setEventStreamConfigLoader(EventStreamConfigLoader eventStreamConfigLoader) |
EventStreamConfig.Builder |
setEventStreamConfigLoader(String streamConfigUri) |
EventStreamConfig.Builder |
setJsonLoader(JsonLoader jsonLoader) |
public EventStreamConfig.Builder setEventStreamConfigLoader(EventStreamConfigLoader eventStreamConfigLoader)
public EventStreamConfig.Builder setEventStreamConfigLoader(String streamConfigUri)
public EventStreamConfig.Builder setEventServiceToUriMap(Map<String,URI> eventServiceToUriMap)
public EventStreamConfig.Builder setEventServiceToUriMap(String eventServiceToUriMapUri)
public EventStreamConfig.Builder setJsonLoader(JsonLoader jsonLoader)
public EventStreamConfig build()
Copyright © 2025. All rights reserved.