List of usage examples for com.amazonaws.services.ec2.model AssociateAddressRequest getPublicIp
public String getPublicIp()
The Elastic IP address to associate with the instance.
From source file:jp.primecloud.auto.aws.typica.EucaEc2Client.java
License:Open Source License
@Override public AssociateAddressResult associateAddress(AssociateAddressRequest associateAddressRequest) { try {/*from ww w. j a v a 2s .c om*/ jec2.associateAddress(associateAddressRequest.getInstanceId(), associateAddressRequest.getPublicIp()); return new AssociateAddressResult(); } catch (EC2Exception e) { throw new AmazonClientException(e); } }