Class JobStatus
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tiems.v20190416.models.JobStatus
-
public class JobStatus extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCurrentWorkers()Get 当前Worker数量 注意:此字段可能返回 null,表示取不到有效值。LonggetDesiredWorkers()Get 预期Worker数量 注意:此字段可能返回 null,表示取不到有效值。StringgetMessage()Get 错误时为错误描述 注意:此字段可能返回 null,表示取不到有效值。ReplicaInfo[]getReplicaInfos()Get 副本实例 注意:此字段可能返回 null,表示取不到有效值。String[]getReplicas()Get 副本名 注意:此字段可能返回 null,表示取不到有效值。StringgetStatus()Get 任务状态voidsetCurrentWorkers(Long CurrentWorkers)Set 当前Worker数量 注意:此字段可能返回 null,表示取不到有效值。voidsetDesiredWorkers(Long DesiredWorkers)Set 预期Worker数量 注意:此字段可能返回 null,表示取不到有效值。voidsetMessage(String Message)Set 错误时为错误描述 注意:此字段可能返回 null,表示取不到有效值。voidsetReplicaInfos(ReplicaInfo[] ReplicaInfos)Set 副本实例 注意:此字段可能返回 null,表示取不到有效值。voidsetReplicas(String[] Replicas)Set 副本名 注意:此字段可能返回 null,表示取不到有效值。voidsetStatus(String Status)Set 任务状态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
-
JobStatus
public JobStatus()
-
JobStatus
public JobStatus(JobStatus 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
-
getStatus
public String getStatus()
Get 任务状态- Returns:
- Status 任务状态
-
setStatus
public void setStatus(String Status)
Set 任务状态- Parameters:
Status- 任务状态
-
getMessage
public String getMessage()
Get 错误时为错误描述 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Message 错误时为错误描述 注意:此字段可能返回 null,表示取不到有效值。
-
setMessage
public void setMessage(String Message)
Set 错误时为错误描述 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Message- 错误时为错误描述 注意:此字段可能返回 null,表示取不到有效值。
-
getDesiredWorkers
public Long getDesiredWorkers()
Get 预期Worker数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DesiredWorkers 预期Worker数量 注意:此字段可能返回 null,表示取不到有效值。
-
setDesiredWorkers
public void setDesiredWorkers(Long DesiredWorkers)
Set 预期Worker数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DesiredWorkers- 预期Worker数量 注意:此字段可能返回 null,表示取不到有效值。
-
getCurrentWorkers
public Long getCurrentWorkers()
Get 当前Worker数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CurrentWorkers 当前Worker数量 注意:此字段可能返回 null,表示取不到有效值。
-
setCurrentWorkers
public void setCurrentWorkers(Long CurrentWorkers)
Set 当前Worker数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CurrentWorkers- 当前Worker数量 注意:此字段可能返回 null,表示取不到有效值。
-
getReplicas
public String[] getReplicas()
Get 副本名 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Replicas 副本名 注意:此字段可能返回 null,表示取不到有效值。
-
setReplicas
public void setReplicas(String[] Replicas)
Set 副本名 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Replicas- 副本名 注意:此字段可能返回 null,表示取不到有效值。
-
getReplicaInfos
public ReplicaInfo[] getReplicaInfos()
Get 副本实例 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ReplicaInfos 副本实例 注意:此字段可能返回 null,表示取不到有效值。
-
setReplicaInfos
public void setReplicaInfos(ReplicaInfo[] ReplicaInfos)
Set 副本实例 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ReplicaInfos- 副本实例 注意:此字段可能返回 null,表示取不到有效值。
-
-