Package com.vmware.nsx_policy.model
Class FederationComponentUpgradeStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FederationComponentUpgradeStatus.Builder
-
- Enclosing class:
- FederationComponentUpgradeStatus
public static final class FederationComponentUpgradeStatus.Builder extends java.lang.Object
Builder class forFederationComponentUpgradeStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFederationComponentUpgradeStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFederationComponentUpgradeStatus
.
-
-
Method Detail
-
setComponentType
public 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.- Parameters:
componentType
- New value for the property.
-
setCurrentVersionNodeSummary
public FederationComponentUpgradeStatus.Builder setCurrentVersionNodeSummary(java.util.List<FederationNodeSummary> currentVersionNodeSummary)
Mapping of current versions of nodes and counts of nodes at the respective versions. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
currentVersionNodeSummary
- New value for the property.
-
setDetails
public 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.- Parameters:
details
- New value for the property.
-
setPercentComplete
public 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.- Parameters:
percentComplete
- New value for the property.
-
setStatus
public FederationComponentUpgradeStatus.Builder setStatus(java.lang.String status)
Possible values are: 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.- Parameters:
status
- New value for the property.
-
setTargetVersion
public 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.- Parameters:
targetVersion
- New value for the property.
-
build
public FederationComponentUpgradeStatus build()
-
-