public class ComputeServiceBuilder extends Object
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Predicate<org.jclouds.compute.domain.ComputeMetadata> |
buildNodeFilter() |
Properties |
buildRegionZonesConfig() |
void |
buildTagConfig() |
void |
destroy() |
String |
getCredentialFromFile(String provider,
String credentialPath) |
Iterable<? extends org.jclouds.compute.domain.NodeMetadata> |
getFilteredNodes()
Gets filtered nodes.
|
Map<String,Comparable> |
getProperties() |
Set<String> |
getRegionsSet() |
int |
getServicePort() |
List<AbstractMap.SimpleImmutableEntry> |
getTagPairs() |
Set<String> |
getZonesSet() |
boolean |
isNodeInsideRegions(org.jclouds.compute.domain.NodeMetadata metadata) |
boolean |
isNodeInsideZones(org.jclouds.compute.domain.NodeMetadata metadata) |
org.jclouds.ContextBuilder |
newContextBuilder(String cloudProvider,
String identity,
String credential,
String roleName) |
void |
setComputeService(org.jclouds.compute.ComputeService computeService)
Injects already built ComputeService
|
public Map<String,Comparable> getProperties()
public List<AbstractMap.SimpleImmutableEntry> getTagPairs()
public void setComputeService(org.jclouds.compute.ComputeService computeService)
computeService
- public Iterable<? extends org.jclouds.compute.domain.NodeMetadata> getFilteredNodes()
public int getServicePort()
public boolean isNodeInsideZones(org.jclouds.compute.domain.NodeMetadata metadata)
public boolean isNodeInsideRegions(org.jclouds.compute.domain.NodeMetadata metadata)
public void destroy()
public Properties buildRegionZonesConfig()
public void buildTagConfig()
public com.google.common.base.Predicate<org.jclouds.compute.domain.ComputeMetadata> buildNodeFilter()
public String getCredentialFromFile(String provider, String credentialPath) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.