Class AddElasticIpsToNodemetadata
java.lang.Object
org.jclouds.ec2.compute.functions.AddElasticIpsToNodemetadata
- All Implemented Interfaces:
com.google.common.base.Function<NodeMetadata,
,NodeMetadata> Function<NodeMetadata,
NodeMetadata>
@Singleton
public class AddElasticIpsToNodemetadata
extends Object
implements com.google.common.base.Function<NodeMetadata,NodeMetadata>
This class searches for elastic ip addresses that are associated with the node, and adds them to
the publicIpAddress collection if present.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AddElasticIpsToNodemetadata
(com.google.common.cache.LoadingCache<RegionAndName, String> cache) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
AddElasticIpsToNodemetadata
@Inject protected AddElasticIpsToNodemetadata(@Named("ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName, String> cache)
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<NodeMetadata,
NodeMetadata> - Specified by:
apply
in interfaceFunction<NodeMetadata,
NodeMetadata>
-