Class AWSRunningInstanceToNodeMetadata
- java.lang.Object
-
- org.jclouds.ec2.compute.functions.RunningInstanceToNodeMetadata
-
- org.jclouds.aws.ec2.compute.functions.AWSRunningInstanceToNodeMetadata
-
- All Implemented Interfaces:
com.google.common.base.Function<RunningInstance,NodeMetadata>
,Function<RunningInstance,NodeMetadata>
@Singleton public class AWSRunningInstanceToNodeMetadata extends RunningInstanceToNodeMetadata
-
-
Field Summary
-
Fields inherited from class org.jclouds.ec2.compute.functions.RunningInstanceToNodeMetadata
credentialStore, hardware, imageMap, instanceToNodeStatus, locations, logger, namingConvention
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeMetadata.Status> instanceToNodeStatus, Map<String,Credentials> credentialStore, com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap, com.google.common.base.Supplier<Set<? extends Location>> locations, com.google.common.base.Supplier<Set<? extends Hardware>> hardware, GroupNamingConvention.Factory namingConvention)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCredentialsForInstance(NodeMetadataBuilder builder, RunningInstance instance)
protected Hardware
parseHardware(RunningInstance instance)
-
Methods inherited from class org.jclouds.ec2.compute.functions.RunningInstanceToNodeMetadata
apply
-
-
-
-
Constructor Detail
-
AWSRunningInstanceToNodeMetadata
@Inject protected AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeMetadata.Status> instanceToNodeStatus, Map<String,Credentials> credentialStore, com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap, com.google.common.base.Supplier<Set<? extends Location>> locations, com.google.common.base.Supplier<Set<? extends Hardware>> hardware, GroupNamingConvention.Factory namingConvention)
-
-
Method Detail
-
addCredentialsForInstance
protected void addCredentialsForInstance(NodeMetadataBuilder builder, RunningInstance instance)
- Overrides:
addCredentialsForInstance
in classRunningInstanceToNodeMetadata
-
parseHardware
protected Hardware parseHardware(RunningInstance instance)
- Overrides:
parseHardware
in classRunningInstanceToNodeMetadata
-
-