public class ModifyDBInstanceNetworkRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyDBInstanceNetworkRequest() |
ModifyDBInstanceNetworkRequest(ModifyDBInstanceNetworkRequest 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 |
getDrInstanceId()
Get Secondary server resource ID.
|
Long |
getDRNetwork()
Get Target node.
|
String |
getInstanceId()
Get Instance ID.
|
String |
getNewSubnetId()
Get ID of the new subnet.
|
String |
getNewVpcId()
Get ID of the new VPC.
|
Long |
getOldIpRetainTime()
Get Retention period (in hours) of the original VIP.
|
String |
getVip()
Get New VIP.
|
void |
setDrInstanceId(String DrInstanceId)
Set Secondary server resource ID.
|
void |
setDRNetwork(Long DRNetwork)
Set Target node.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setNewSubnetId(String NewSubnetId)
Set ID of the new subnet.
|
void |
setNewVpcId(String NewVpcId)
Set ID of the new VPC.
|
void |
setOldIpRetainTime(Long OldIpRetainTime)
Set Retention period (in hours) of the original VIP.
|
void |
setVip(String Vip)
Set New VIP.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyDBInstanceNetworkRequest()
public ModifyDBInstanceNetworkRequest(ModifyDBInstanceNetworkRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public String getNewVpcId()
public void setNewVpcId(String NewVpcId)
NewVpcId
- ID of the new VPC.public String getNewSubnetId()
public void setNewSubnetId(String NewSubnetId)
NewSubnetId
- ID of the new subnet.public Long getOldIpRetainTime()
public void setOldIpRetainTime(Long OldIpRetainTime)
OldIpRetainTime
- Retention period (in hours) of the original VIP. Value range: `0-168`. Default value: `0`, indicating the original VIP is released immediately.public String getVip()
public void setVip(String Vip)
Vip
- New VIP.public Long getDRNetwork()
public void setDRNetwork(Long DRNetwork)
DRNetwork
- Target node. 0 - modify the primary node network; 1 - modify the secondary node network. The default value is 0.public String getDrInstanceId()
public void setDrInstanceId(String DrInstanceId)
DrInstanceId
- Secondary server resource ID. It is required when DRNetwork = 1.Copyright © 2025. All rights reserved.