AssociateAddress Method
Associates an elastic IP address with an instance.
Syntax
public void associateAddress(String instanceId, String publicIp);
Remarks
This method associates a new elastic IP Address to the specified InstanceId to be used by your account.
To list all available elastic IP addresses, refer to ListAddresses.