public static final class FederationComponentUpgradeStatus.Builder
extends java.lang.Object
FederationComponentUpgradeStatus.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
FederationComponentUpgradeStatus. |
| Modifier and Type | Method and Description |
|---|---|
FederationComponentUpgradeStatus |
build() |
FederationComponentUpgradeStatus.Builder |
setComponentType(java.lang.String componentType)
Component type for the upgrade status
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
FederationComponentUpgradeStatus.Builder |
setCurrentVersionNodeSummary(java.util.List<FederationNodeSummary> currentVersionNodeSummary)
Mapping of current versions of nodes and counts of nodes at the respective
versions.
|
FederationComponentUpgradeStatus.Builder |
setDetails(java.lang.String details)
Details about the upgrade status
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
FederationComponentUpgradeStatus.Builder |
setPercentComplete(java.lang.Double percentComplete)
Indicator of upgrade progress in percentage
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
FederationComponentUpgradeStatus.Builder |
setStatus(java.lang.String status)
Possible values are:
FederationComponentUpgradeStatus.STATUS_SUCCESS
FederationComponentUpgradeStatus.STATUS_FAILED
FederationComponentUpgradeStatus.STATUS_IN_PROGRESS
FederationComponentUpgradeStatus.STATUS_NOT_STARTED
FederationComponentUpgradeStatus.STATUS_PAUSED
Upgrade status of component
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
FederationComponentUpgradeStatus.Builder |
setTargetVersion(java.lang.String targetVersion)
Target 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.
|
public Builder()
FederationComponentUpgradeStatus.public FederationComponentUpgradeStatus.Builder setComponentType(java.lang.String componentType)
componentType - New value for the property.public FederationComponentUpgradeStatus.Builder setCurrentVersionNodeSummary(java.util.List<FederationNodeSummary> currentVersionNodeSummary)
currentVersionNodeSummary - New value for the property.public FederationComponentUpgradeStatus.Builder setDetails(java.lang.String details)
details - New value for the property.public FederationComponentUpgradeStatus.Builder setPercentComplete(java.lang.Double percentComplete)
percentComplete - New value for the property.public FederationComponentUpgradeStatus.Builder setStatus(java.lang.String status)
status - New value for the property.public FederationComponentUpgradeStatus.Builder setTargetVersion(java.lang.String targetVersion)
targetVersion - New value for the property.public FederationComponentUpgradeStatus build()