public class AssociateAddressRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AssociateAddressRequest()  | 
AssociateAddressRequest(AssociateAddressRequest 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 | 
getAddressId()
Get The unique ID of the EIP, such as `eip-11112222`. 
 | 
Boolean | 
getEipDirectConnection()
Get Specify whether to configure direct access when binding EIPs. 
 | 
String | 
getInstanceId()
Get The ID of the instance to be bound, such as `ins-11112222`, `lb-11112222`. 
 | 
String | 
getNetworkInterfaceId()
Get The ID of the ENI to be bonud, such as `eni-11112222`. 
 | 
String | 
getPrivateIpAddress()
Get The private IP to be bound. 
 | 
void | 
setAddressId(String AddressId)
Set The unique ID of the EIP, such as `eip-11112222`. 
 | 
void | 
setEipDirectConnection(Boolean EipDirectConnection)
Set Specify whether to configure direct access when binding EIPs. 
 | 
void | 
setInstanceId(String InstanceId)
Set The ID of the instance to be bound, such as `ins-11112222`, `lb-11112222`. 
 | 
void | 
setNetworkInterfaceId(String NetworkInterfaceId)
Set The ID of the ENI to be bonud, such as `eni-11112222`. 
 | 
void | 
setPrivateIpAddress(String PrivateIpAddress)
Set The private IP to be bound. 
 | 
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, toJsonStringpublic AssociateAddressRequest()
public AssociateAddressRequest(AssociateAddressRequest source)
public String getAddressId()
public void setAddressId(String AddressId)
AddressId - The unique ID of the EIP, such as `eip-11112222`.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - The ID of the instance to be bound, such as `ins-11112222`, `lb-11112222`. You can query the instance ID by logging into the [Console](https://console.cloud.tencent.com/cvm). You can also obtain the parameter value from the `InstanceId` field in the returned result of [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API.public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId - The ID of the ENI to be bonud, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. You can query the ENI ID by logging into the [Console](https://console.cloud.tencent.com/vpc/eni). You can also obtain the parameter value from the `networkInterfaceId` field in the returned result of [DescribeNetworkInterfaces](https://intl.cloud.tencent.com/document/api/215/15817?from_cn_redirect=1) API.public String getPrivateIpAddress()
public void setPrivateIpAddress(String PrivateIpAddress)
PrivateIpAddress - The private IP to be bound. If you specify `NetworkInterfaceId`, then you must also specify `PrivateIpAddress`, indicating the EIP is bound to the specified private IP of the specified ENI. At the same time, you must ensure the specified `PrivateIpAddress` is a private IP on the `NetworkInterfaceId`. You can query the private IP of the specified ENI by logging into the [Console](https://console.cloud.tencent.com/vpc/eni). You can also obtain the parameter value from the `privateIpAddress` field in the returned result of [DescribeNetworkInterfaces](https://intl.cloud.tencent.com/document/api/215/15817?from_cn_redirect=1) API.public Boolean getEipDirectConnection()
public void setEipDirectConnection(Boolean EipDirectConnection)
EipDirectConnection - Specify whether to configure direct access when binding EIPs. For details, see [EIP Direct Access](https://intl.cloud.tencent.com/document/product/213/12540). Valid values: `True` and `False` (default). This parameter can be set to `True` when binding EIPs to a CVM instance or EKS cluster. It is in a beta test. To try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2).Copyright © 2025. All rights reserved.