public static interface RoutingConfig.Builder extends SdkPojo, CopyableBuilder<RoutingConfig.Builder,RoutingConfig>
| Modifier and Type | Method and Description |
|---|---|
default RoutingConfig.Builder |
failoverConfig(Consumer<FailoverConfig.Builder> failoverConfig)
The failover configuration for an endpoint.
|
RoutingConfig.Builder |
failoverConfig(FailoverConfig failoverConfig)
The failover configuration for an endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRoutingConfig.Builder failoverConfig(FailoverConfig failoverConfig)
The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
failoverConfig - The failover configuration for an endpoint. This includes what triggers failover and what happens when
it's triggered.default RoutingConfig.Builder failoverConfig(Consumer<FailoverConfig.Builder> failoverConfig)
The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
This is a convenience method that creates an instance of theFailoverConfig.Builder avoiding the need
to create one manually via FailoverConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to failoverConfig(FailoverConfig).failoverConfig - a consumer that will call methods on FailoverConfig.BuilderfailoverConfig(FailoverConfig)Copyright © 2022. All rights reserved.