Package com.vmware.nsx_policy.model
Class FederationUpgradeSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FederationUpgradeSummary.Builder
-
- Enclosing class:
- FederationUpgradeSummary
public static final class FederationUpgradeSummary.Builder extends java.lang.Object
Builder class forFederationUpgradeSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFederationUpgradeSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederationUpgradeSummary
build()
FederationUpgradeSummary.Builder
setComponentStatus(java.util.List<FederationComponentUpgradeStatus> componentStatus)
List of component statuses This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FederationUpgradeSummary.Builder
setCurrentVersion(java.lang.String currentVersion)
This is NSX version for the site.FederationUpgradeSummary.Builder
setGpmName(java.lang.String gpmName)
Name of the global manager if present.FederationUpgradeSummary.Builder
setId(java.lang.String id)
Unique identifier of this resource.FederationUpgradeSummary.Builder
setLastUpgradeTimestamp(java.lang.String lastUpgradeTimestamp)
Indicates the time when the site was upgraded.FederationUpgradeSummary.Builder
setName(java.lang.String name)
Name of the site.FederationUpgradeSummary.Builder
setOverallUpgradeStatus(java.lang.String overallUpgradeStatus)
Possible values are:FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_SUCCESS
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_FAILED
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_IN_PROGRESS
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_NOT_STARTED
FederationUpgradeSummary.OVERALL_UPGRADE_STATUS_PAUSED
Status of upgrade This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FederationUpgradeSummary.Builder
setSiteId(java.lang.String siteId)
This is the Site Manager generated UUID for every NSX deployment.FederationUpgradeSummary.Builder
setSiteIp(java.lang.String siteIp)
IP address of the site.FederationUpgradeSummary.Builder
setSiteType(java.lang.String siteType)
Possible values are:FederationUpgradeSummary.SITE_TYPE_ACTIVE_GM_SITE
FederationUpgradeSummary.SITE_TYPE_STANDBY_GM_SITE
FederationUpgradeSummary.SITE_TYPE_NON_GM_SITE
Type of this site.FederationUpgradeSummary.Builder
setTargetVersion(java.lang.String targetVersion)
This is NSX target version for the site, if it is undergoing upgrade.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFederationUpgradeSummary
.
-
-
Method Detail
-
setComponentStatus
public FederationUpgradeSummary.Builder setComponentStatus(java.util.List<FederationComponentUpgradeStatus> componentStatus)
List of component statuses 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:
componentStatus
- New value for the property.
-
setCurrentVersion
public FederationUpgradeSummary.Builder setCurrentVersion(java.lang.String currentVersion)
This is NSX version for the site. 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:
currentVersion
- New value for the property.
-
setGpmName
public FederationUpgradeSummary.Builder setGpmName(java.lang.String gpmName)
Name of the global manager if present. 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:
gpmName
- New value for the property.
-
setId
public FederationUpgradeSummary.Builder setId(java.lang.String id)
Unique identifier of 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.- Parameters:
id
- New value for the property.
-
setLastUpgradeTimestamp
public FederationUpgradeSummary.Builder setLastUpgradeTimestamp(java.lang.String lastUpgradeTimestamp)
Indicates the time when the site was upgraded. 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:
lastUpgradeTimestamp
- New value for the property.
-
setName
public FederationUpgradeSummary.Builder setName(java.lang.String name)
Name of the site. 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:
name
- New value for the property.
-
setOverallUpgradeStatus
public FederationUpgradeSummary.Builder setOverallUpgradeStatus(java.lang.String overallUpgradeStatus)
Possible values are: Status of upgrade 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:
overallUpgradeStatus
- New value for the property.
-
setSiteId
public FederationUpgradeSummary.Builder setSiteId(java.lang.String siteId)
This is the Site Manager generated UUID for every NSX deployment. 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:
siteId
- New value for the property.
-
setSiteIp
public FederationUpgradeSummary.Builder setSiteIp(java.lang.String siteIp)
IP address of the site. 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:
siteIp
- New value for the property.
-
setSiteType
public FederationUpgradeSummary.Builder setSiteType(java.lang.String siteType)
Possible values are: Type of this site. 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:
siteType
- New value for the property.
-
setTargetVersion
public FederationUpgradeSummary.Builder setTargetVersion(java.lang.String targetVersion)
This is NSX target version for the site, if it is undergoing upgrade. 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 FederationUpgradeSummary build()
-
-