Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NodeInfo . |
Modifier and Type | Method and Description |
---|---|
NodeInfo |
build() |
NodeInfo.Builder |
setComponentVersion(java.lang.String componentVersion)
Component version of the node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeInfo.Builder |
setDisplayName(java.lang.String displayName)
Name of the node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeInfo.Builder |
setId(java.lang.String id)
Identifier of the node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeInfo.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
NodeInfo.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.
|
NodeInfo.Builder |
setSelf(SelfResourceLink self) |
NodeInfo.Builder |
setType(java.lang.String type)
Node type
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()
NodeInfo
.public NodeInfo.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public NodeInfo.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public NodeInfo.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public NodeInfo.Builder setComponentVersion(java.lang.String componentVersion)
componentVersion
- New value for the property.public NodeInfo.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public NodeInfo.Builder setId(java.lang.String id)
id
- New value for the property.public NodeInfo.Builder setType(java.lang.String type)
type
- New value for the property.public NodeInfo build()