@Singleton public class AWSEC2GetNodeMetadataStrategy extends EC2GetNodeMetadataStrategy
Modifier | Constructor and Description |
---|---|
protected |
AWSEC2GetNodeMetadataStrategy(AWSEC2Client client,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
Modifier and Type | Method and Description |
---|---|
RunningInstance |
getRunningInstanceInRegion(String region,
String id) |
getNode
@Inject protected AWSEC2GetNodeMetadataStrategy(AWSEC2Client client, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata, SpotInstanceRequestToAWSRunningInstance spotConverter)
public RunningInstance getRunningInstanceInRegion(String region, String id)
getRunningInstanceInRegion
in class EC2GetNodeMetadataStrategy
Copyright © 2009-2013 jclouds. All Rights Reserved.