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.ObjectBuilder 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 FederationComponentUpgradeStatusbuild()FederationComponentUpgradeStatus.BuildersetComponentType(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.BuildersetCurrentVersionNodeSummary(java.util.List<FederationNodeSummary> currentVersionNodeSummary)Mapping of current versions of nodes and counts of nodes at the respective versions.FederationComponentUpgradeStatus.BuildersetDetails(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.BuildersetPercentComplete(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.BuildersetStatus(java.lang.String status)Possible values are:FederationComponentUpgradeStatus.STATUS_SUCCESSFederationComponentUpgradeStatus.STATUS_FAILEDFederationComponentUpgradeStatus.STATUS_IN_PROGRESSFederationComponentUpgradeStatus.STATUS_NOT_STARTEDFederationComponentUpgradeStatus.STATUS_PAUSEDUpgrade 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.BuildersetTargetVersion(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()
-
-