Interface UpdateFailoverConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateFailoverConfig.Builder,UpdateFailoverConfig>,SdkBuilder<UpdateFailoverConfig.Builder,UpdateFailoverConfig>,SdkPojo
- Enclosing class:
- UpdateFailoverConfig
public static interface UpdateFailoverConfig.Builder extends SdkPojo, CopyableBuilder<UpdateFailoverConfig.Builder,UpdateFailoverConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateFailoverConfig.BuilderfailoverMode(String failoverMode)The type of failover you choose for this flow.UpdateFailoverConfig.BuilderfailoverMode(FailoverMode failoverMode)The type of failover you choose for this flow.UpdateFailoverConfig.BuilderrecoveryWindow(Integer recoveryWindow)Recovery window time to look for dash-7 packetsdefault UpdateFailoverConfig.BuildersourcePriority(Consumer<SourcePriority.Builder> sourcePriority)The priority you want to assign to a source.UpdateFailoverConfig.BuildersourcePriority(SourcePriority sourcePriority)The priority you want to assign to a source.UpdateFailoverConfig.Builderstate(String state)Sets the value of the State property for this object.UpdateFailoverConfig.Builderstate(State state)Sets the value of the State property for this object.-
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
-
failoverMode
UpdateFailoverConfig.Builder failoverMode(String failoverMode)
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.- Parameters:
failoverMode- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailoverMode,FailoverMode
-
failoverMode
UpdateFailoverConfig.Builder failoverMode(FailoverMode failoverMode)
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.- Parameters:
failoverMode- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailoverMode,FailoverMode
-
recoveryWindow
UpdateFailoverConfig.Builder recoveryWindow(Integer recoveryWindow)
Recovery window time to look for dash-7 packets- Parameters:
recoveryWindow- Recovery window time to look for dash-7 packets- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePriority
UpdateFailoverConfig.Builder sourcePriority(SourcePriority sourcePriority)
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.- Parameters:
sourcePriority- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePriority
default UpdateFailoverConfig.Builder sourcePriority(Consumer<SourcePriority.Builder> sourcePriority)
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams. This is a convenience method that creates an instance of theSourcePriority.Builderavoiding the need to create one manually viaSourcePriority.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourcePriority(SourcePriority).- Parameters:
sourcePriority- a consumer that will call methods onSourcePriority.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourcePriority(SourcePriority)
-
state
UpdateFailoverConfig.Builder state(String state)
Sets the value of the State property for this object.
-
state
UpdateFailoverConfig.Builder state(State state)
Sets the value of the State property for this object.
-
-