public class ModifyConnectionConfigRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyConnectionConfigRequest() |
ModifyConnectionConfigRequest(ModifyConnectionConfigRequest 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 |
getBandwidth()
Get Additional bandwidth in MB, which should be greater than 0.
|
Long |
getClientLimit()
Get Total number of connections per shard.
|
String |
getInstanceId()
Get Instance ID.
|
void |
setBandwidth(Long Bandwidth)
Set Additional bandwidth in MB, which should be greater than 0.
|
void |
setClientLimit(Long ClientLimit)
Set Total number of connections per shard.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
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 ModifyConnectionConfigRequest()
public ModifyConnectionConfigRequest(ModifyConnectionConfigRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Additional bandwidth in MB, which should be greater than 0.public Long getClientLimit()
public void setClientLimit(Long ClientLimit)
ClientLimit
- Total number of connections per shard.
- When read-only replicas are not enabled, the lower limit is 10,000 and the upper limit is 40,000.
- When read-only replicas are enabled, the lower limit is 10,000, and the upper limit is calculated as follows: 10,000 x (Number of read-only replicas + 3).Copyright © 2024. All rights reserved.