Interface FailoverConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FailoverConfig.Builder,FailoverConfig>,SdkBuilder<FailoverConfig.Builder,FailoverConfig>,SdkPojo
- Enclosing class:
- FailoverConfig
public static interface FailoverConfig.Builder extends SdkPojo, CopyableBuilder<FailoverConfig.Builder,FailoverConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FailoverConfig.Builderprimary(Consumer<Primary.Builder> primary)The main Region of the endpoint.FailoverConfig.Builderprimary(Primary primary)The main Region of the endpoint.default FailoverConfig.Buildersecondary(Consumer<Secondary.Builder> secondary)The Region that events are routed to when failover is triggered or event replication is enabled.FailoverConfig.Buildersecondary(Secondary secondary)The Region that events are routed to when failover is triggered or event replication is enabled.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
primary
FailoverConfig.Builder primary(Primary primary)
The main Region of the endpoint.
- Parameters:
primary- The main Region of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primary
default FailoverConfig.Builder primary(Consumer<Primary.Builder> primary)
The main Region of the endpoint.
This is a convenience method that creates an instance of thePrimary.Builderavoiding the need to create one manually viaPrimary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimary(Primary).- Parameters:
primary- a consumer that will call methods onPrimary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primary(Primary)
-
secondary
FailoverConfig.Builder secondary(Secondary secondary)
The Region that events are routed to when failover is triggered or event replication is enabled.
- Parameters:
secondary- The Region that events are routed to when failover is triggered or event replication is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondary
default FailoverConfig.Builder secondary(Consumer<Secondary.Builder> secondary)
The Region that events are routed to when failover is triggered or event replication is enabled.
This is a convenience method that creates an instance of theSecondary.Builderavoiding the need to create one manually viaSecondary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondary(Secondary).- Parameters:
secondary- a consumer that will call methods onSecondary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
secondary(Secondary)
-
-