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 Operation type.
|
Long |
getRecycle()
Get Retention time of the original VIP in days.
|
String |
getSubnetId()
Get Subnet ID, which is required for `changeVpc` and `changeBaseToVpc` operations
|
String |
getVip()
Get VIP address, which is required for the `changeVip` operation.
|
String |
getVpcId()
Get VPC ID, which is required for `changeVpc` and `changeBaseToVpc` operations.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setOperation(String Operation)
Set Operation type.
|
void |
setRecycle(Long Recycle)
Set Retention time of the original VIP in days.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID, which is required for `changeVpc` and `changeBaseToVpc` operations
|
void |
setVip(String Vip)
Set VIP address, which is required for the `changeVip` operation.
|
void |
setVpcId(String VpcId)
Set VPC ID, which is required for `changeVpc` and `changeBaseToVpc` operations.
|
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
- Operation type. changeVip: modify the VIP of an instance; changeVpc: modify the subnet of an instance; changeBaseToVpc: change from classic network to VPCpublic String getVip()
public void setVip(String Vip)
Vip
- VIP address, which is required for the `changeVip` operation. If this parameter is left blank, a random one will be assigned by default.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID, which is required for `changeVpc` and `changeBaseToVpc` operations.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID, which is required for `changeVpc` and `changeBaseToVpc` operationspublic Long getRecycle()
public void setRecycle(Long Recycle)
Recycle
- Retention time of the original VIP in days. Note that this parameter works only in the latest SDK. In earlier SDKs, the original VIP is released immediately. To view the SDK version, go to [SDK Center](https://intl.cloud.tencent.com/document/sdk?from_cn_redirect=1).Copyright © 2022. All rights reserved.