public static final class NodeSummary.Builder
extends java.lang.Object
NodeSummary
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NodeSummary . |
Modifier and Type | Method and Description |
---|---|
NodeSummary |
build() |
NodeSummary.Builder |
setComponentVersion(java.lang.String componentVersion)
Component version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeSummary.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
NodeSummary.Builder |
setNodeCount(java.lang.Long nodeCount)
Number of nodes of the type and at the component version 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.
|
NodeSummary.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.
|
NodeSummary.Builder |
setSelf(SelfResourceLink self) |
NodeSummary.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.
|
NodeSummary.Builder |
setUpgradeUnitSubtype(java.lang.String upgradeUnitSubtype)
Possible values are:
NodeSummary.UPGRADE_UNIT_SUBTYPE_RESOURCE NodeSummary.UPGRADE_UNIT_SUBTYPE_ACTION
UpgradeUnit sub 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()
NodeSummary
.public NodeSummary.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public NodeSummary.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public NodeSummary.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public NodeSummary.Builder setComponentVersion(java.lang.String componentVersion)
componentVersion
- New value for the property.public NodeSummary.Builder setNodeCount(java.lang.Long nodeCount)
nodeCount
- New value for the property.public NodeSummary.Builder setType(java.lang.String type)
type
- New value for the property.public NodeSummary.Builder setUpgradeUnitSubtype(java.lang.String upgradeUnitSubtype)
upgradeUnitSubtype
- New value for the property.public NodeSummary build()