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