39404142434445
this.awsConfig = awsConfig; endpoint = awsConfig.getHostHeader(); } public List<String> getPrivateIpAddresses() throws Exception { return new DescribeInstances(awsConfig).execute(endpoint); }
4041424344454647
this.awsConfig = awsConfig; endpoint = awsConfig.getHostHeader(); } public Collection<String> getPrivateIpAddresses() throws Exception { final Map<String, String> result = new DescribeInstances(awsConfig).execute(endpoint); return result.keySet(); }
45464748495051
final Map<String, String> result = new DescribeInstances(awsConfig).execute(endpoint); return result.keySet(); } public Map<String, String> getAddresses() throws Exception { return new DescribeInstances(awsConfig).execute(endpoint); }