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:
- Serializable, Comparable<ResourceMetadata<LoadBalancerType>>, ResourceMetadata<LoadBalancerType>, LoadBalancerMetadata
public class LoadBalancerMetadataImpl
- extends ResourceMetadataImpl<LoadBalancerType>
- implements LoadBalancerMetadata
- Author:
- Adrian Cole
- See Also:
- Serialized Form
LoadBalancerMetadataImpl
public LoadBalancerMetadataImpl(LoadBalancerType type,
String providerId,
String name,
String id,
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 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 ResourceMetadataImpl<LoadBalancerType>
toString
public String toString()
- Overrides:
toString
in class ResourceMetadataImpl<LoadBalancerType>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ResourceMetadataImpl<LoadBalancerType>
Copyright © 2009-2011 jclouds. All Rights Reserved.