org.jclouds.loadbalancer.domain.internal
Class LoadBalancerMetadataImpl
java.lang.Object
org.jclouds.domain.internal.ResourceMetadataImpl<LoadBalancerType>
org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl
- All Implemented Interfaces:
- Comparable<org.jclouds.domain.ResourceMetadata<LoadBalancerType>>, org.jclouds.domain.ResourceMetadata<LoadBalancerType>, LoadBalancerMetadata
public class LoadBalancerMetadataImpl
- extends org.jclouds.domain.internal.ResourceMetadataImpl<LoadBalancerType>
- implements LoadBalancerMetadata
| Methods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl |
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, string |
| Methods inherited from interface org.jclouds.domain.ResourceMetadata |
getLocation, getUri, getUserMetadata |
LoadBalancerMetadataImpl
public LoadBalancerMetadataImpl(LoadBalancerType type,
String providerId,
String name,
String id,
org.jclouds.domain.Location location,
URI uri,
Map<String,String> userMetadata,
Iterable<String> addresses)
getType
public LoadBalancerType getType()
- Type of the resource, ex node, image, size
- Specified by:
getType in interface org.jclouds.domain.ResourceMetadata<LoadBalancerType>- Specified by:
getType in interface LoadBalancerMetadata
getId
public String getId()
- A means to uniquely address this resource within a provider. For example, if the namespace of
a node or image is region based, the id will likely include both the region and the
provider-supplied id encoded to avoid collisions.
- Specified by:
getId in interface LoadBalancerMetadata
getAddresses
public Set<String> getAddresses()
-
- Specified by:
getAddresses in interface LoadBalancerMetadata
- Returns:
- DNS Name of the load balancer; note we don't use InetAddress, as it is incompatible
with google appengine.
hashCode
public int hashCode()
- Overrides:
hashCode in class org.jclouds.domain.internal.ResourceMetadataImpl<LoadBalancerType>
toString
public String toString()
- Overrides:
toString in class org.jclouds.domain.internal.ResourceMetadataImpl<LoadBalancerType>
equals
public boolean equals(Object obj)
- Overrides:
equals in class org.jclouds.domain.internal.ResourceMetadataImpl<LoadBalancerType>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.