public class ModifyNetworkConfigRequest extends AbstractModel
Constructor and Description |
---|
ModifyNetworkConfigRequest() |
ModifyNetworkConfigRequest(ModifyNetworkConfigRequest 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 |
getOperation()
Get Network change type.
|
Long |
getRecycle()
Get Retention period of the original private IPv4 address
- Unit: Days.
|
String |
getSubnetId()
Get Subnet ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
|
String |
getVip()
Get Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.
|
String |
getVpcId()
Get VPC ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
|
Long |
getVPort()
Get Network port after the change, which is required if `Operation` is `changeVPort` or `changeVip`.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setOperation(String Operation)
Set Network change type.
|
void |
setRecycle(Long Recycle)
Set Retention period of the original private IPv4 address
- Unit: Days.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
|
void |
setVip(String Vip)
Set Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.
|
void |
setVpcId(String VpcId)
Set VPC ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
|
void |
setVPort(Long VPort)
Set Network port after the change, which is required if `Operation` is `changeVPort` or `changeVip`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyNetworkConfigRequest()
public ModifyNetworkConfigRequest(ModifyNetworkConfigRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getOperation()
public void setOperation(String Operation)
Operation
- Network change type. Valid values:
- `changeVip`: VPC change, including the private IPv4 address and port.
- `changeVpc`: Subnet change.
- `changeBaseToVpc`: Change from classic network to VPC.
- `changeVPort`: Port change.public String getVip()
public void setVip(String Vip)
Vip
- Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.public Long getRecycle()
public void setRecycle(Long Recycle)
Recycle
- Retention period of the original private IPv4 address
- Unit: Days.
- Valid values: `0`, `1`, `2`, `3`, `7`, `15`.
Note**: You can set the retention period of the original address only in the latest SDK. In earlier SDKs, the original address is released immediately. To view the SDK version, go to [SDK Center](https://intl.cloud.tencent.com/document/sdk?from_cn_redirect=1).public Long getVPort()
public void setVPort(Long VPort)
VPort
- Network port after the change, which is required if `Operation` is `changeVPort` or `changeVip`. Value range: [1024,65535].Copyright © 2023. All rights reserved.