public static final class UpgradeChecksExecutionStatus.Builder
extends java.lang.Object
UpgradeChecksExecutionStatus
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
UpgradeChecksExecutionStatus . |
Modifier and Type | Method and Description |
---|---|
UpgradeChecksExecutionStatus |
build() |
UpgradeChecksExecutionStatus.Builder |
setDetails(java.lang.String details)
Details about current execution of pre/post-upgrade checks
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeChecksExecutionStatus.Builder |
setEndTime(java.lang.Long endTime)
Time (in milliseconds since epoch) when the execution of pre/post-upgrade checks
completed format: int64
|
UpgradeChecksExecutionStatus.Builder |
setErrorCount(java.lang.Long errorCount)
Total count of generated Failures in last execution of pre/post upgrade checks
format: int32
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeChecksExecutionStatus.Builder |
setFailureCount(java.lang.Long failureCount)
Total count of generated failures or warnings in last execution of
pre/post-upgrade checks format: int32
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeChecksExecutionStatus.Builder |
setNodeWithIssuesCount(java.lang.Long nodeWithIssuesCount)
Number of nodes which generated failures or warnings in last execution of
pre/post-upgrade checks.
|
UpgradeChecksExecutionStatus.Builder |
setStartTime(java.lang.Long startTime)
Time (in milliseconds since epoch) when the execution of pre/post-upgrade checks
started format: int64
|
UpgradeChecksExecutionStatus.Builder |
setStatus(java.lang.String status)
Possible values are:
UpgradeChecksExecutionStatus.STATUS_NOT_STARTED
UpgradeChecksExecutionStatus.STATUS_IN_PROGRESS
UpgradeChecksExecutionStatus.STATUS_ABORTING
UpgradeChecksExecutionStatus.STATUS_ABORTED
UpgradeChecksExecutionStatus.STATUS_COMPLETED
Status of execution of pre/post-upgrade checks
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
UpgradeChecksExecutionStatus.Builder |
setWarningCount(java.lang.Long warningCount)
Total count of generated warnings in last execution of pre/post upgrade checks.
|
public Builder()
UpgradeChecksExecutionStatus
.public UpgradeChecksExecutionStatus.Builder setDetails(java.lang.String details)
details
- New value for the property.public UpgradeChecksExecutionStatus.Builder setEndTime(java.lang.Long endTime)
endTime
- New value for the property.public UpgradeChecksExecutionStatus.Builder setErrorCount(java.lang.Long errorCount)
errorCount
- New value for the property.public UpgradeChecksExecutionStatus.Builder setFailureCount(java.lang.Long failureCount)
failureCount
- New value for the property.public UpgradeChecksExecutionStatus.Builder setNodeWithIssuesCount(java.lang.Long nodeWithIssuesCount)
nodeWithIssuesCount
- New value for the property.public UpgradeChecksExecutionStatus.Builder setStartTime(java.lang.Long startTime)
startTime
- New value for the property.public UpgradeChecksExecutionStatus.Builder setStatus(java.lang.String status)
status
- New value for the property.public UpgradeChecksExecutionStatus.Builder setWarningCount(java.lang.Long warningCount)
warningCount
- New value for the property.public UpgradeChecksExecutionStatus build()