public final class CloudyUtility extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
unmarshalTheResponse(InputStream stream,
AwsConfig awsConfig)
Unmarshal the response from
DescribeInstances and return the discovered node map. |
public static Map<String,String> unmarshalTheResponse(InputStream stream, AwsConfig awsConfig)
DescribeInstances
and return the discovered node map.
The map contains mappings from private to public IP and all contained nodes match the filtering rules defined by
the awsConfig
.
If there is an exception while unmarshalling the response, returns an empty map.stream
- the response XML streamawsConfig
- the AWS configuration for filtering the returned addressesCopyright © 2019 Hazelcast, Inc.. All rights reserved.