public class ScaleOutInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ScaleOutInstanceRequest() |
ScaleOutInstanceRequest(ScaleOutInstanceRequest 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 |
---|---|
Long |
getHaType()
Get Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability.
|
String |
getInstanceId()
Get Cluster ID
|
Long |
getNodeCount()
Get Number of nodes
|
String |
getType()
Get Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE.
|
void |
setHaType(Long HaType)
Set Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability.
|
void |
setInstanceId(String InstanceId)
Set Cluster ID
|
void |
setNodeCount(Long NodeCount)
Set Number of nodes
|
void |
setType(String Type)
Set Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE.
|
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 ScaleOutInstanceRequest()
public ScaleOutInstanceRequest(ScaleOutInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Cluster IDpublic String getType()
public void setType(String Type)
Type
- Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE.public Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount
- Number of nodespublic Long getHaType()
public void setHaType(Long HaType)
HaType
- Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability.Copyright © 2024. All rights reserved.