| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NewsEvent.Builder |
addTag(String tag,
String value) |
NewsEvent |
build() |
NewsEvent.Builder |
withAction(String action) |
NewsEvent.Builder |
withActionReason(String actionReason) |
NewsEvent.Builder |
withBody(String body) |
NewsEvent.Builder |
withChainKey(NewsKey chainKey) |
NewsEvent.Builder |
withExtraAttributes(String extraAttributes) |
NewsEvent.Builder |
withFeed(String feed) |
NewsEvent.Builder |
withKey(NewsKey key) |
NewsEvent.Builder |
withOriginalKey(NewsKey originalKey) |
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 withOriginalKey(NewsKey originalKey)
public NewsEvent.Builder withChainKey(NewsKey chainKey)
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 withExtraAttributes(String extraAttributes)
public NewsEvent.Builder withAction(String action)
public NewsEvent.Builder withActionReason(String actionReason)
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 © 2023 Devexperts. All rights reserved.