public class UpgradeProxyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpgradeProxyRequest() |
UpgradeProxyRequest(UpgradeProxyRequest 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 |
---|---|
String |
getClusterId()
Get Cluster ID
|
Long |
getCpu()
Get Number of CPU cores
|
String |
getIsInMaintainPeriod()
Get Upgrade time.
|
Long |
getMem()
Get Memory
|
Long |
getProxyCount()
Get Number of nodes in the proxy group
|
String |
getProxyGroupId()
Get ID of the database proxy group (disused)
|
ProxyZone[] |
getProxyZones()
Get Node information of the atabase proxy
|
String |
getReloadBalance()
Get Load rebalance mode.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
|
void |
setIsInMaintainPeriod(String IsInMaintainPeriod)
Set Upgrade time.
|
void |
setMem(Long Mem)
Set Memory
|
void |
setProxyCount(Long ProxyCount)
Set Number of nodes in the proxy group
|
void |
setProxyGroupId(String ProxyGroupId)
Set ID of the database proxy group (disused)
|
void |
setProxyZones(ProxyZone[] ProxyZones)
Set Node information of the atabase proxy
|
void |
setReloadBalance(String ReloadBalance)
Set Load rebalance mode.
|
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 UpgradeProxyRequest()
public UpgradeProxyRequest(UpgradeProxyRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU corespublic Long getMem()
public void setMem(Long Mem)
Mem
- Memorypublic Long getProxyCount()
public void setProxyCount(Long ProxyCount)
ProxyCount
- Number of nodes in the proxy grouppublic String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId
- ID of the database proxy group (disused)public String getReloadBalance()
public void setReloadBalance(String ReloadBalance)
ReloadBalance
- Load rebalance mode. Valid values: `auto`, `manual`public String getIsInMaintainPeriod()
public void setIsInMaintainPeriod(String IsInMaintainPeriod)
IsInMaintainPeriod
- Upgrade time. Valid values: `no` (upon upgrade completion), `timeWindow` (upgrade during instance maintenance time)public ProxyZone[] getProxyZones()
public void setProxyZones(ProxyZone[] ProxyZones)
ProxyZones
- Node information of the atabase proxyCopyright © 2024. All rights reserved.