public static final class ReactorDopplerClient.Builder extends Object
ReactorDopplerClient.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ReactorDopplerClient |
build()
Builds a new
ReactorDopplerClient. |
ReactorDopplerClient.Builder |
connectionContext(ConnectionContext connectionContext)
Initializes the value for the
connectionContext attribute. |
ReactorDopplerClient.Builder |
from(ReactorDopplerClient instance)
Fill a builder with attribute values from the provided
ReactorDopplerClient instance. |
ReactorDopplerClient.Builder |
root(reactor.core.publisher.Mono<String> root)
Initializes the value for the
root attribute. |
ReactorDopplerClient.Builder |
tokenProvider(TokenProvider tokenProvider)
Initializes the value for the
tokenProvider attribute. |
public final ReactorDopplerClient.Builder from(ReactorDopplerClient instance)
ReactorDopplerClient instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ReactorDopplerClient.Builder connectionContext(ConnectionContext connectionContext)
connectionContext attribute.connectionContext - The value for connectionContextthis builder for use in a chained invocationpublic final ReactorDopplerClient.Builder root(reactor.core.publisher.Mono<String> root)
root attribute.
If not set, this attribute will have a default value as returned by the initializer of root.
root - The value for rootthis builder for use in a chained invocationpublic final ReactorDopplerClient.Builder tokenProvider(TokenProvider tokenProvider)
tokenProvider attribute.tokenProvider - The value for tokenProviderthis builder for use in a chained invocationpublic ReactorDopplerClient build()
ReactorDopplerClient.IllegalStateException - if any required attributes are missingCopyright © 2019. All rights reserved.