Class AWSEC2DestroyNodeStrategy
java.lang.Object
org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
org.jclouds.aws.ec2.compute.strategy.AWSEC2DestroyNodeStrategy
- All Implemented Interfaces:
DestroyNodeStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AWSEC2Api
protected final Map
<String, Credentials> Fields inherited from class org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
elasticIpCache, getNode, logger
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AWSEC2DestroyNodeStrategy
(AWSEC2Api client, GetNodeMetadataStrategy getNode, com.google.common.cache.LoadingCache<RegionAndName, String> elasticIpCache, Map<String, Credentials> credentialStore) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
destroyInstanceInRegion
(String id, String region) Methods inherited from class org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
destroyNode, releaseAnyPublicIpForInstanceInRegion
-
Field Details
-
client
-
credentialStore
-
-
Constructor Details
-
AWSEC2DestroyNodeStrategy
@Inject protected AWSEC2DestroyNodeStrategy(AWSEC2Api client, GetNodeMetadataStrategy getNode, @Named("ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName, String> elasticIpCache, Map<String, Credentials> credentialStore)
-
-
Method Details
-
destroyInstanceInRegion
- Overrides:
destroyInstanceInRegion
in classEC2DestroyNodeStrategy
-