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
Modifier and TypeMethodDescriptionfailoverMode
(String failoverMode) The type of failover you choose for this flow.failoverMode
(FailoverMode failoverMode) The type of failover you choose for this flow.recoveryWindow
(Integer recoveryWindow) Search window time to look for dash-7 packetsdefault FailoverConfig.Builder
sourcePriority
(Consumer<SourcePriority.Builder> sourcePriority) The priority you want to assign to a source.sourcePriority
(SourcePriority sourcePriority) The priority you want to assign to a source.Sets the value of the State property for this object.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 Details
-
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
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:
-
recoveryWindow
Search window time to look for dash-7 packets- Parameters:
recoveryWindow
- Search window time to look for dash-7 packets- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.Builder
avoiding the need to create one manually viaSourcePriority.builder()
.When the
Consumer
completes,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:
-
state
Sets the value of the State property for this object.- Parameters:
state
- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state
- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-