public class ModifyDReadableRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyDReadableRequest() |
ModifyDReadableRequest(ModifyDReadableRequest 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 |
getInstanceId()
Get Instance ID
|
String |
getSubnetId()
Get Replica server subnet ID, which will be consistent with the primary instance by default if left blank
|
String |
getType()
Get Operation type.
|
String |
getVip()
Get Specified replica server read-only VIP, which will be assigned automatically if left blank
|
String |
getVpcId()
Get Replica server network ID, which will be consistent with the primary instance by default if left blank
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setSubnetId(String SubnetId)
Set Replica server subnet ID, which will be consistent with the primary instance by default if left blank
|
void |
setType(String Type)
Set Operation type.
|
void |
setVip(String Vip)
Set Specified replica server read-only VIP, which will be assigned automatically if left blank
|
void |
setVpcId(String VpcId)
Set Replica server network ID, which will be consistent with the primary instance by default if left blank
|
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 ModifyDReadableRequest()
public ModifyDReadableRequest(ModifyDReadableRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getType()
public void setType(String Type)
Type
- Operation type. Valid values: enable - enabling the read-only mode of the replica server; disable - disabling the read-only mode of the replica serverpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- Replica server network ID, which will be consistent with the primary instance by default if left blankpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Replica server subnet ID, which will be consistent with the primary instance by default if left blankpublic String getVip()
public void setVip(String Vip)
Vip
- Specified replica server read-only VIP, which will be assigned automatically if left blankCopyright © 2025. All rights reserved.