| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
Resource. |
| Modifier and Type | Method and Description |
|---|---|
Resource |
build() |
Resource.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
Resource.Builder |
setSchema(java.lang.String schema)
Schema for this 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.
|
Resource.Builder |
setSelf(SelfResourceLink self) |
public Builder()
Resource.public Resource.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public Resource.Builder setSchema(java.lang.String schema)
schema - New value for the property.public Resource.Builder setSelf(SelfResourceLink self)
self - New value for the property.public Resource build()