Package com.vmware.nsx_policy.model
Class NvdsUpgradeStatusSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NvdsUpgradeStatusSummary.Builder
-
- Enclosing class:
- NvdsUpgradeStatusSummary
public static final class NvdsUpgradeStatusSummary.Builder extends java.lang.ObjectBuilder class forNvdsUpgradeStatusSummary.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofNvdsUpgradeStatusSummary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NvdsUpgradeStatusSummarybuild()NvdsUpgradeStatusSummary.BuildersetMigrationState(java.util.List<NvdsUpgradeHostState> migrationState)Overall state of migration across all TransportNodes This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NvdsUpgradeStatusSummary.BuildersetPrecheckId(java.lang.String precheckId)Tracking ID of nvds upgrade precheck This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NvdsUpgradeStatusSummary.BuildersetPrecheckIssue(java.util.List<NvdsUpgradeConfigIssue> precheckIssue)Config issue in pre-check This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NvdsUpgradeStatusSummary.BuildersetPrecheckStatus(java.lang.String precheckStatus)Possible values are:NvdsUpgradeStatusSummary.PRECHECK_STATUS_IN_PROGRESSNvdsUpgradeStatusSummary.PRECHECK_STATUS_FAILEDNvdsUpgradeStatusSummary.PRECHECK_STATUS_PENDING_TOPOLOGYNvdsUpgradeStatusSummary.PRECHECK_STATUS_APPLYING_TOPOLOGYNvdsUpgradeStatusSummary.PRECHECK_STATUS_APPLY_TOPOLOGY_FAILEDNvdsUpgradeStatusSummary.PRECHECK_STATUS_READYOverall status of pre-check 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 ofNvdsUpgradeStatusSummary.
-
-
Method Detail
-
setMigrationState
public NvdsUpgradeStatusSummary.Builder setMigrationState(java.util.List<NvdsUpgradeHostState> migrationState)
Overall state of migration across all TransportNodes 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:
migrationState- New value for the property.
-
setPrecheckId
public NvdsUpgradeStatusSummary.Builder setPrecheckId(java.lang.String precheckId)
Tracking ID of nvds upgrade precheck 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:
precheckId- New value for the property.
-
setPrecheckIssue
public NvdsUpgradeStatusSummary.Builder setPrecheckIssue(java.util.List<NvdsUpgradeConfigIssue> precheckIssue)
Config issue in pre-check 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:
precheckIssue- New value for the property.
-
setPrecheckStatus
public NvdsUpgradeStatusSummary.Builder setPrecheckStatus(java.lang.String precheckStatus)
Possible values are:-
NvdsUpgradeStatusSummary.PRECHECK_STATUS_IN_PROGRESS -
NvdsUpgradeStatusSummary.PRECHECK_STATUS_FAILED -
NvdsUpgradeStatusSummary.PRECHECK_STATUS_PENDING_TOPOLOGY -
NvdsUpgradeStatusSummary.PRECHECK_STATUS_APPLYING_TOPOLOGY -
NvdsUpgradeStatusSummary.PRECHECK_STATUS_APPLY_TOPOLOGY_FAILED -
NvdsUpgradeStatusSummary.PRECHECK_STATUS_READY
- Parameters:
precheckStatus- New value for the property.
-
-
build
public NvdsUpgradeStatusSummary build()
-
-