Class LoadBalancerMetadataImpl
- java.lang.Object
-
- org.jclouds.domain.internal.ResourceMetadataImpl<LoadBalancerType>
-
- org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl
-
- All Implemented Interfaces:
Comparable<ResourceMetadata<LoadBalancerType>>
,ResourceMetadata<LoadBalancerType>
,LoadBalancerMetadata
public class LoadBalancerMetadataImpl extends ResourceMetadataImpl<LoadBalancerType> implements LoadBalancerMetadata
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Set<String>
getAddresses()
String
getId()
A means to uniquely address this resource within a provider.LoadBalancerType
getType()
Type of the resource, ex node, image, sizeint
hashCode()
String
toString()
-
Methods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, string
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.jclouds.loadbalancer.domain.LoadBalancerMetadata
getName, getProviderId
-
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
-
-
-
-
Method Detail
-
getType
public LoadBalancerType getType()
Type of the resource, ex node, image, size- Specified by:
getType
in interfaceLoadBalancerMetadata
- Specified by:
getType
in interfaceResourceMetadata<LoadBalancerType>
-
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 interfaceLoadBalancerMetadata
-
getAddresses
public Set<String> getAddresses()
- Specified by:
getAddresses
in interfaceLoadBalancerMetadata
- 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 classResourceMetadataImpl<LoadBalancerType>
-
toString
public String toString()
- Overrides:
toString
in classResourceMetadataImpl<LoadBalancerType>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classResourceMetadataImpl<LoadBalancerType>
-
-