public class FailOverSettings extends AbstractModel
Constructor and Description |
---|
FailOverSettings() |
FailOverSettings(FailOverSettings source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getLossThreshold()
Get The wait time (ms) for triggering failover after the primary input becomes unavailable.
|
String |
getRecoverBehavior()
Get Failover policy.
|
String |
getSecondaryInputId()
Get ID of the backup input
Note: this field may return `null`, indicating that no valid value was found.
|
void |
setLossThreshold(Long LossThreshold)
Set The wait time (ms) for triggering failover after the primary input becomes unavailable.
|
void |
setRecoverBehavior(String RecoverBehavior)
Set Failover policy.
|
void |
setSecondaryInputId(String SecondaryInputId)
Set ID of the backup input
Note: this field may return `null`, indicating that no valid value was found.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public FailOverSettings()
public FailOverSettings(FailOverSettings source)
public String getSecondaryInputId()
public void setSecondaryInputId(String SecondaryInputId)
SecondaryInputId
- ID of the backup input
Note: this field may return `null`, indicating that no valid value was found.public Long getLossThreshold()
public void setLossThreshold(Long LossThreshold)
LossThreshold
- The wait time (ms) for triggering failover after the primary input becomes unavailable. Value range: [1000, 86400000]. Default value: `3000`public String getRecoverBehavior()
public void setRecoverBehavior(String RecoverBehavior)
RecoverBehavior
- Failover policy. Valid values: `CURRENT_PREFERRED` (default), `PRIMARY_PREFERRED`Copyright © 2023. All rights reserved.