public class GetUpgradeInstanceProgressResponse extends AbstractModel
header, skipSign
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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2024. All rights reserved.