public class ModifyDBInstanceNetworkAddressRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyDBInstanceNetworkAddressRequest() |
ModifyDBInstanceNetworkAddressRequest(ModifyDBInstanceNetworkAddressRequest 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 Specifies the ID of the instance for modifying the network.
|
ModifyNetworkAddress[] |
getNetworkAddresses()
Get IP address information, including the new IP address and the original IP address.
|
String |
getNewUniqSubnetId()
Get VPC subnet ID after the switch.
|
String |
getNewUniqVpcId()
Get VPC ID after the switch.
|
Long |
getOldIpExpiredTime()
Get Retention period of the original IP address.
|
void |
setInstanceId(String InstanceId)
Set Specifies the ID of the instance for modifying the network.
|
void |
setNetworkAddresses(ModifyNetworkAddress[] NetworkAddresses)
Set IP address information, including the new IP address and the original IP address.
|
void |
setNewUniqSubnetId(String NewUniqSubnetId)
Set VPC subnet ID after the switch.
|
void |
setNewUniqVpcId(String NewUniqVpcId)
Set VPC ID after the switch.
|
void |
setOldIpExpiredTime(Long OldIpExpiredTime)
Set Retention period of the original IP address.
|
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 ModifyDBInstanceNetworkAddressRequest()
public ModifyDBInstanceNetworkAddressRequest(ModifyDBInstanceNetworkAddressRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Specifies the ID of the instance for modifying the network. For example, cmgo-p8vn****. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/MongoDB) and copy the instance ID from the instance list.public Long getOldIpExpiredTime()
public void setOldIpExpiredTime(Long OldIpExpiredTime)
OldIpExpiredTime
- Retention period of the original IP address.
- Unit: minutes. 0 means that the IP address is immediately repossessed.
- The original IP address will be released after a scheduled period. Both the original and new IP addresses are accessible before release.public String getNewUniqVpcId()
public void setNewUniqVpcId(String NewUniqVpcId)
NewUniqVpcId
- VPC ID after the switch. If the instance is using a basic network, this field is not required.public String getNewUniqSubnetId()
public void setNewUniqSubnetId(String NewUniqSubnetId)
NewUniqSubnetId
- VPC subnet ID after the switch. If the instance is using a basic network, this field is not required.public ModifyNetworkAddress[] getNetworkAddresses()
public void setNetworkAddresses(ModifyNetworkAddress[] NetworkAddresses)
NetworkAddresses
- IP address information, including the new IP address and the original IP address.Copyright © 2025. All rights reserved.