item.setPublicIp(addr.getIpAddress());
item.setInstanceId(addr.getAssociatedInstanceId());
item.setDomain("standard"); // Since VPC is not supported by AWSAPI default to 'standard'
items.add(item);
}
DescribeAddressesResponseInfoType descAddrRespInfoType = new DescribeAddressesResponseInfoType();
descAddrRespInfoType.setItem(items.toArray(new DescribeAddressesResponseItemType[0]));
DescribeAddressesResponseType descAddrRespType = new DescribeAddressesResponseType();
descAddrRespType.setRequestId(UUID.randomUUID().toString());
descAddrRespType.setAddressesSet(descAddrRespInfoType);