public class LinkDescription extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LinkDescription.Builder
Class to build instances of
LinkDescription. |
| Constructor and Description |
|---|
LinkDescription()
Default constructor.
|
LinkDescription(String href,
String rel,
LinkHttpMethod method)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHref()
Getter for Href.
|
LinkHttpMethod |
getMethod()
Getter for Method.
|
String |
getRel()
Getter for Rel.
|
void |
setHref(String href)
Setter for Href.
|
void |
setMethod(LinkHttpMethod method)
Setter for Method.
|
void |
setRel(String rel)
Setter for Rel.
|
LinkDescription.Builder |
toBuilder()
Builds a new
LinkDescription.Builder object. |
String |
toString()
Converts this LinkDescription into string format.
|
public LinkDescription()
public LinkDescription(String href, String rel, LinkHttpMethod method)
href - String value for href.rel - String value for rel.method - LinkHttpMethod value for method.public String getHref()
public void setHref(String href)
href - Value for Stringpublic String getRel()
public void setRel(String rel)
rel - Value for Stringpublic LinkHttpMethod getMethod()
public void setMethod(LinkHttpMethod method)
method - Value for LinkHttpMethodpublic String toString()
public LinkDescription.Builder toBuilder()
LinkDescription.Builder object.
Creates the instance with the state of the current model.LinkDescription.Builder objectCopyright © 2025. All rights reserved.