Class StrategyConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.StrategyConfig
-
public class StrategyConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StrategyConfig()StrategyConfig(StrategyConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBatchSize()Get 滚动重启每批次的重启数量,最大重启台数为 99999 台 注意:此字段可能返回 null,表示取不到有效值。LonggetDealOnFail()Get 操作失败处理策略,0:失败阻塞, 1:失败自动跳过 注意:此字段可能返回 null,表示取不到有效值。LonggetRollingRestartSwitch()Get 0:关闭滚动重启 1:开启滚动启动 注意:此字段可能返回 null,表示取不到有效值。LonggetTimeWait()Get 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒 注意:此字段可能返回 null,表示取不到有效值。voidsetBatchSize(Long BatchSize)Set 滚动重启每批次的重启数量,最大重启台数为 99999 台 注意:此字段可能返回 null,表示取不到有效值。voidsetDealOnFail(Long DealOnFail)Set 操作失败处理策略,0:失败阻塞, 1:失败自动跳过 注意:此字段可能返回 null,表示取不到有效值。voidsetRollingRestartSwitch(Long RollingRestartSwitch)Set 0:关闭滚动重启 1:开启滚动启动 注意:此字段可能返回 null,表示取不到有效值。voidsetTimeWait(Long TimeWait)Set 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
StrategyConfig
public StrategyConfig()
-
StrategyConfig
public StrategyConfig(StrategyConfig 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.
-
-
Method Detail
-
getRollingRestartSwitch
public Long getRollingRestartSwitch()
Get 0:关闭滚动重启 1:开启滚动启动 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RollingRestartSwitch 0:关闭滚动重启 1:开启滚动启动 注意:此字段可能返回 null,表示取不到有效值。
-
setRollingRestartSwitch
public void setRollingRestartSwitch(Long RollingRestartSwitch)
Set 0:关闭滚动重启 1:开启滚动启动 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RollingRestartSwitch- 0:关闭滚动重启 1:开启滚动启动 注意:此字段可能返回 null,表示取不到有效值。
-
getBatchSize
public Long getBatchSize()
Get 滚动重启每批次的重启数量,最大重启台数为 99999 台 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BatchSize 滚动重启每批次的重启数量,最大重启台数为 99999 台 注意:此字段可能返回 null,表示取不到有效值。
-
setBatchSize
public void setBatchSize(Long BatchSize)
Set 滚动重启每批次的重启数量,最大重启台数为 99999 台 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BatchSize- 滚动重启每批次的重启数量,最大重启台数为 99999 台 注意:此字段可能返回 null,表示取不到有效值。
-
getTimeWait
public Long getTimeWait()
Get 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TimeWait 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒 注意:此字段可能返回 null,表示取不到有效值。
-
setTimeWait
public void setTimeWait(Long TimeWait)
Set 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TimeWait- 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒 注意:此字段可能返回 null,表示取不到有效值。
-
getDealOnFail
public Long getDealOnFail()
Get 操作失败处理策略,0:失败阻塞, 1:失败自动跳过 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DealOnFail 操作失败处理策略,0:失败阻塞, 1:失败自动跳过 注意:此字段可能返回 null,表示取不到有效值。
-
setDealOnFail
public void setDealOnFail(Long DealOnFail)
Set 操作失败处理策略,0:失败阻塞, 1:失败自动跳过 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DealOnFail- 操作失败处理策略,0:失败阻塞, 1:失败自动跳过 注意:此字段可能返回 null,表示取不到有效值。
-
-