public static class LinkDescription.Builder extends Object
LinkDescription.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(String href,
String rel)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LinkDescription |
build()
Builds a new
LinkDescription object using the set fields. |
LinkDescription.Builder |
href(String href)
Setter for href.
|
LinkDescription.Builder |
method(LinkHttpMethod method)
Setter for method.
|
LinkDescription.Builder |
rel(String rel)
Setter for rel.
|
public LinkDescription.Builder href(String href)
href - String value for href.public LinkDescription.Builder rel(String rel)
rel - String value for rel.public LinkDescription.Builder method(LinkHttpMethod method)
method - LinkHttpMethod value for method.public LinkDescription build()
LinkDescription object using the set fields.LinkDescriptionCopyright © 2025. All rights reserved.