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
Constructors Modifier Constructor Description protected
AddElasticIpsToNodemetadata(com.google.common.cache.LoadingCache<RegionAndName,String> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeMetadata
apply(NodeMetadata arg0)
-
-
-
Constructor Detail
-
AddElasticIpsToNodemetadata
@Inject protected AddElasticIpsToNodemetadata(@Named("ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName,String> cache)
-
-
Method Detail
-
apply
public NodeMetadata apply(NodeMetadata arg0)
- Specified by:
apply
in interfacecom.google.common.base.Function<NodeMetadata,NodeMetadata>
- Specified by:
apply
in interfaceFunction<NodeMetadata,NodeMetadata>
-
-