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
ConstructorsModifierConstructorDescriptionprotectedAddElasticIpsToNodemetadata(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, waitMethods 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:
applyin interfacecom.google.common.base.Function<NodeMetadata,NodeMetadata> - Specified by:
applyin interfaceFunction<NodeMetadata,NodeMetadata>
-