Package org.openstack4j.openstack.common
Class GenericLink
- java.lang.Object
-
- org.openstack4j.openstack.common.GenericLink
-
- All Implemented Interfaces:
Serializable,Buildable<LinkBuilder>,Link,ModelEntity
public class GenericLink extends Object implements Link
A Link holds information about a URL, Relative URL and the type of the link- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenericLink.LinkConcreteBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description GenericLink()GenericLink(String rel, String href, String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkBuilderbuilder()StringgetHref()StringgetRel()StringgetType()LinkBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static LinkBuilder builder()
- Returns:
- the link builder
-
toBuilder
public LinkBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<LinkBuilder>
-
getRel
public String getRel()
-
getType
public String getType()
-
-