public class GetUpgradeInstanceProgressResponse extends AbstractModel
Constructor and Description |
---|
GetUpgradeInstanceProgressResponse() |
GetUpgradeInstanceProgressResponse(GetUpgradeInstanceProgressResponse 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 |
---|---|
InstanceUpgradeClusterStatus |
getClusterStatus()
Get Current cluster status
|
Long |
getDone()
Get Total upgraded nodes
|
InstanceUpgradeProgressItem[] |
getInstances()
Get Details of upgrade progress of each node
|
String |
getLifeState()
Get The lifecycle of the upgrade task
process: running
paused: stopped
pausing: stopping
done: completed
timeout: timed out
aborted: canceled
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long |
getTotal()
Get Total nodes to upgrade
|
void |
setClusterStatus(InstanceUpgradeClusterStatus ClusterStatus)
Set Current cluster status
|
void |
setDone(Long Done)
Set Total upgraded nodes
|
void |
setInstances(InstanceUpgradeProgressItem[] Instances)
Set Details of upgrade progress of each node
|
void |
setLifeState(String LifeState)
Set The lifecycle of the upgrade task
process: running
paused: stopped
pausing: stopping
done: completed
timeout: timed out
aborted: canceled
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setTotal(Long Total)
Set Total nodes to upgrade
|
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 GetUpgradeInstanceProgressResponse()
public GetUpgradeInstanceProgressResponse(GetUpgradeInstanceProgressResponse source)
public Long getTotal()
public void setTotal(Long Total)
Total
- Total nodes to upgradepublic Long getDone()
public void setDone(Long Done)
Done
- Total upgraded nodespublic String getLifeState()
public void setLifeState(String LifeState)
LifeState
- The lifecycle of the upgrade task
process: running
paused: stopped
pausing: stopping
done: completed
timeout: timed out
aborted: canceledpublic InstanceUpgradeProgressItem[] getInstances()
public void setInstances(InstanceUpgradeProgressItem[] Instances)
Instances
- Details of upgrade progress of each nodepublic InstanceUpgradeClusterStatus getClusterStatus()
public void setClusterStatus(InstanceUpgradeClusterStatus ClusterStatus)
ClusterStatus
- Current cluster statuspublic String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2021. All rights reserved.