public static final class NodeCapability.Builder
extends java.lang.Object
NodeCapability
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NodeCapability . |
Modifier and Type | Method and Description |
---|---|
NodeCapability |
build() |
NodeCapability.Builder |
setDescription(java.lang.String description)
Description of this capability that can be displayed in UI
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeCapability.Builder |
setKey(java.lang.String key)
String that identifies the base capability for all nodes
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeCapability.Builder |
setProvider(java.lang.String provider)
Provider of this capability for 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.
|
NodeCapability.Builder |
setValue(java.lang.String value)
Value of this capability
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeCapability.Builder |
setVersion(java.lang.Long version)
Version of the capability format: int32
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()
NodeCapability
.public NodeCapability.Builder setDescription(java.lang.String description)
description
- New value for the property.public NodeCapability.Builder setKey(java.lang.String key)
key
- New value for the property.public NodeCapability.Builder setProvider(java.lang.String provider)
provider
- New value for the property.public NodeCapability.Builder setValue(java.lang.String value)
value
- New value for the property.public NodeCapability.Builder setVersion(java.lang.Long version)
version
- New value for the property.public NodeCapability build()