Interface RoutingType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingType.Builder,,RoutingType> SdkBuilder<RoutingType.Builder,,RoutingType> SdkPojo
- Enclosing class:
- RoutingType
@Mutable
@NotThreadSafe
public static interface RoutingType.Builder
extends SdkPojo, CopyableBuilder<RoutingType.Builder,RoutingType>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RoutingType.Builderfailover(Consumer<FailoverType.Builder> failover) The failover configuration that specifies the secondary region and health check settings.failover(FailoverType failover) The failover configuration that specifies the secondary region and health check settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
failover
The failover configuration that specifies the secondary region and health check settings.
- Parameters:
failover- The failover configuration that specifies the secondary region and health check settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failover
The failover configuration that specifies the secondary region and health check settings.
This is a convenience method that creates an instance of theFailoverType.Builderavoiding the need to create one manually viaFailoverType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailover(FailoverType).- Parameters:
failover- a consumer that will call methods onFailoverType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-