@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailoverConfig extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
FailoverConfig() |
Modifier and Type | Method and Description |
---|---|
FailoverConfig |
clone() |
boolean |
equals(Object obj) |
String |
getFailoverMode()
The type of failover you choose for this flow.
|
Integer |
getRecoveryWindow()
Search window time to look for dash-7 packets
|
SourcePriority |
getSourcePriority()
The priority you want to assign to a source.
|
String |
getState() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailoverMode(String failoverMode)
The type of failover you choose for this flow.
|
void |
setRecoveryWindow(Integer recoveryWindow)
Search window time to look for dash-7 packets
|
void |
setSourcePriority(SourcePriority sourcePriority)
The priority you want to assign to a source.
|
void |
setState(String state) |
String |
toString()
Returns a string representation of this object.
|
FailoverConfig |
withFailoverMode(FailoverMode failoverMode)
The type of failover you choose for this flow.
|
FailoverConfig |
withFailoverMode(String failoverMode)
The type of failover you choose for this flow.
|
FailoverConfig |
withRecoveryWindow(Integer recoveryWindow)
Search window time to look for dash-7 packets
|
FailoverConfig |
withSourcePriority(SourcePriority sourcePriority)
The priority you want to assign to a source.
|
FailoverConfig |
withState(State state) |
FailoverConfig |
withState(String state) |
public void setFailoverMode(String 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.FailoverMode
public String getFailoverMode()
FailoverMode
public FailoverConfig withFailoverMode(String 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.FailoverMode
public FailoverConfig withFailoverMode(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.FailoverMode
public void setRecoveryWindow(Integer recoveryWindow)
recoveryWindow
- Search window time to look for dash-7 packetspublic Integer getRecoveryWindow()
public FailoverConfig withRecoveryWindow(Integer recoveryWindow)
recoveryWindow
- Search window time to look for dash-7 packetspublic void setSourcePriority(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.public SourcePriority getSourcePriority()
public FailoverConfig withSourcePriority(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.public FailoverConfig withState(String state)
state
- State
public FailoverConfig withState(State state)
state
- State
public String toString()
toString
in class Object
Object.toString()
public FailoverConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.