public interface PubSubConf
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PubSubConf.Builder<T extends PubSubConf.Builder<T>>
Super interface for all Builders of all PubSubConfs.
|
static class |
PubSubConf.MapKind<T>
Different kinds of Maps the configuration can be converted into.
|
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
get(PubSubConfFieldSpecification<T> field)
Returns the value of the given field.
|
default Object |
get(String fieldName)
Returns the value of the given field.
|
PubSubConfSpecification |
specification()
Returns the specification of this object.
|
PubSubConf.Builder<?> |
toBuilder()
Returns a Builder initialised with fields of this object.
|
default <T> T |
toMap(PubSubConf.MapKind<T> kind)
Converts this configuration to a Map based on given
PubSubConf.MapKind PubSubConf.MapKind.MapOptions. |
default <T> T get(PubSubConfFieldSpecification<T> field)
ClassCastException if this object doesn't
have the field.default Object get(String fieldName)
IllegalArgumentException if the
specification() doesn't have field with the given name.PubSubConfSpecification specification()
PubSubConf.Builder<?> toBuilder()
PubSubConf.Builder.build() method shall return the same class instances as this object
is.default <T> T toMap(PubSubConf.MapKind<T> kind)
PubSubConf.MapKind PubSubConf.MapKind.MapOptions.Copyright © 2026. All rights reserved.