public static final class OwnerResourceLink.Builder
extends java.lang.Object
OwnerResourceLink
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
OwnerResourceLink . |
Modifier and Type | Method and Description |
---|---|
OwnerResourceLink |
build() |
OwnerResourceLink.Builder |
setAction(java.lang.String action)
Optional action
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
OwnerResourceLink.Builder |
setHref(java.lang.String href)
Link to resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
OwnerResourceLink.Builder |
setRel(java.lang.String rel)
Custom relation type (follows RFC 5988 where appropriate definitions exist)
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
OwnerResourceLink
.public OwnerResourceLink.Builder setAction(java.lang.String action)
action
- New value for the property.public OwnerResourceLink.Builder setHref(java.lang.String href)
href
- New value for the property.public OwnerResourceLink.Builder setRel(java.lang.String rel)
rel
- New value for the property.public OwnerResourceLink build()