org.jclouds.vcloud.director.v1_5.domain
Class Link

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Reference
      extended by org.jclouds.vcloud.director.v1_5.domain.Link

public class Link
extends Reference

A link.

 <xs:complexType name="LinkType">
 

Author:
Adrian Cole

Nested Class Summary
static class Link.Builder<B extends Link.Builder<B>>
           
static class Link.Rel
           
 
Field Summary
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Reference
logger
 
Constructor Summary
protected Link()
           
protected Link(Link.Builder<?> builder)
           
 
Method Summary
static Link.Builder<?> builder()
           
 boolean equals(Object o)
           
 Link.Rel getRel()
          Defines the relationship of the link to the object that contains it.
 int hashCode()
           
 com.google.common.base.Objects.ToStringHelper string()
           
 Link.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Reference
getHref, getId, getName, getType, toAdminReference, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

protected Link(Link.Builder<?> builder)

Link

protected Link()
Method Detail

builder

public static Link.Builder<?> builder()

toBuilder

public Link.Builder<?> toBuilder()
Overrides:
toBuilder in class Reference

getRel

public Link.Rel getRel()
Defines the relationship of the link to the object that contains it. A relationship can be the name of an operation on the object, a reference to a contained or containing object, or a reference to an alternate representation of the object. The relationship value implies the HTTP verb to use when you use the link's href value as a request URL.

Returns:
relationship of the link to the object that contains it.

equals

public boolean equals(Object o)
Overrides:
equals in class Reference

hashCode

public int hashCode()
Overrides:
hashCode in class Reference

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Reference


Copyright © 2009-2012 jclouds. All Rights Reserved.