Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
NewsEvent.Builder |
addTag(String tag,
String value) |
NewsEvent |
build() |
NewsEvent.Builder |
withBody(String body) |
NewsEvent.Builder |
withFeed(String feed) |
NewsEvent.Builder |
withKey(NewsKey key) |
NewsEvent.Builder |
withSource(String source) |
NewsEvent.Builder |
withSourceId(String sourceId) |
NewsEvent.Builder |
withSymbols(List<String> symbols) |
NewsEvent.Builder |
withTag(String tag,
List<String> values) |
NewsEvent.Builder |
withTags(Map<String,List<String>> values) |
NewsEvent.Builder |
withTime(long time) |
NewsEvent.Builder |
withTitle(String title) |
public NewsEvent.Builder withKey(NewsKey key)
public NewsEvent.Builder withFeed(String feed)
public NewsEvent.Builder withSourceId(String sourceId)
public NewsEvent.Builder withSource(String source)
public NewsEvent.Builder withTime(long time)
public NewsEvent.Builder withTitle(String title)
public NewsEvent.Builder withBody(String body)
public NewsEvent.Builder withSymbols(List<String> symbols)
public NewsEvent.Builder withTags(Map<String,List<String>> values)
public NewsEvent.Builder withTag(String tag, List<String> values)
public NewsEvent.Builder addTag(String tag, String value)
public NewsEvent build()
Copyright © 2021 Devexperts. All rights reserved.