public static final class UpgradeUnitTypeStats.Builder
extends java.lang.Object
UpgradeUnitTypeStats
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
UpgradeUnitTypeStats . |
Modifier and Type | Method and Description |
---|---|
UpgradeUnitTypeStats |
build() |
UpgradeUnitTypeStats.Builder |
setNodeCount(java.lang.Long nodeCount)
Number of nodes 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.
|
UpgradeUnitTypeStats.Builder |
setNodeWithIssuesCount(java.lang.Long nodeWithIssuesCount)
Number of nodes with issues that may cause upgrade failure 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.
|
UpgradeUnitTypeStats.Builder |
setType(java.lang.String type)
Type of upgrade unit
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeUnitTypeStats.Builder |
setUpgradeUnitSubtype(java.lang.String upgradeUnitSubtype)
Possible values are:
UpgradeUnitTypeStats.UPGRADE_UNIT_SUBTYPE_RESOURCE
UpgradeUnitTypeStats.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. |
UpgradeUnitTypeStats.Builder |
setVersion(java.lang.String version)
Version of the upgrade unit
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()
UpgradeUnitTypeStats
.public UpgradeUnitTypeStats.Builder setNodeCount(java.lang.Long nodeCount)
nodeCount
- New value for the property.public UpgradeUnitTypeStats.Builder setNodeWithIssuesCount(java.lang.Long nodeWithIssuesCount)
nodeWithIssuesCount
- New value for the property.public UpgradeUnitTypeStats.Builder setType(java.lang.String type)
type
- New value for the property.public UpgradeUnitTypeStats.Builder setUpgradeUnitSubtype(java.lang.String upgradeUnitSubtype)
upgradeUnitSubtype
- New value for the property.public UpgradeUnitTypeStats.Builder setVersion(java.lang.String version)
version
- New value for the property.public UpgradeUnitTypeStats build()