public static final class UpgradeCheckFailure.Builder
extends java.lang.Object
UpgradeCheckFailure
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
UpgradeCheckFailure . |
Modifier and Type | Method and Description |
---|---|
UpgradeCheckFailure |
build() |
UpgradeCheckFailure.Builder |
setAcked(java.lang.Boolean acked)
Flag which tells if the precheck is acknowledged
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeCheckFailure.Builder |
setComponentType(java.lang.String componentType)
Component type of the origin of failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeCheckFailure.Builder |
setGroupName(java.lang.String groupName)
Name of the upgrade group of the origin of failure.
|
UpgradeCheckFailure.Builder |
setId(java.lang.String id)
Precheckid of the pre upgrade 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.
|
UpgradeCheckFailure.Builder |
setMessage(UpgradeCheckFailureMessage message) |
UpgradeCheckFailure.Builder |
setNeedsAck(java.lang.Boolean needsAck)
Flag which identifies if acknowledgement is required for the 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.
|
UpgradeCheckFailure.Builder |
setNeedsResolve(java.lang.Boolean needsResolve)
Flag which identifies if resolution is required for the 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.
|
UpgradeCheckFailure.Builder |
setOriginId(java.lang.String originId)
Unique id of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeCheckFailure.Builder |
setOriginName(java.lang.String originName)
Name of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeCheckFailure.Builder |
setOriginType(java.lang.String originType)
Possible values are:
UpgradeCheckFailure.ORIGIN_TYPE_COMPONENT UpgradeCheckFailure.ORIGIN_TYPE_UPGRADE_UNIT
Type of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
UpgradeCheckFailure.Builder |
setResolutionError(java.lang.String resolutionError)
Error occured while resolving 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.
|
UpgradeCheckFailure.Builder |
setResolutionStatus(java.lang.String resolutionStatus)
Possible values are:
UpgradeCheckFailure.RESOLUTION_STATUS_UNRESOLVED
UpgradeCheckFailure.RESOLUTION_STATUS_RESOLVING
UpgradeCheckFailure.RESOLUTION_STATUS_RESOLVED
UpgradeCheckFailure.RESOLUTION_STATUS_FAILURE
Type of resolution status of 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. |
UpgradeCheckFailure.Builder |
setType(java.lang.String type)
Possible values are:
UpgradeCheckFailure.TYPE_FAILURE UpgradeCheckFailure.TYPE_WARNING Type of the
pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
public Builder()
UpgradeCheckFailure
.public UpgradeCheckFailure.Builder setAcked(java.lang.Boolean acked)
acked
- New value for the property.public UpgradeCheckFailure.Builder setComponentType(java.lang.String componentType)
componentType
- New value for the property.public UpgradeCheckFailure.Builder setGroupName(java.lang.String groupName)
groupName
- New value for the property.public UpgradeCheckFailure.Builder setId(java.lang.String id)
id
- New value for the property.public UpgradeCheckFailure.Builder setMessage(UpgradeCheckFailureMessage message)
message
- New value for the property.public UpgradeCheckFailure.Builder setNeedsAck(java.lang.Boolean needsAck)
needsAck
- New value for the property.public UpgradeCheckFailure.Builder setNeedsResolve(java.lang.Boolean needsResolve)
needsResolve
- New value for the property.public UpgradeCheckFailure.Builder setOriginId(java.lang.String originId)
originId
- New value for the property.public UpgradeCheckFailure.Builder setOriginName(java.lang.String originName)
originName
- New value for the property.public UpgradeCheckFailure.Builder setOriginType(java.lang.String originType)
originType
- New value for the property.public UpgradeCheckFailure.Builder setResolutionError(java.lang.String resolutionError)
resolutionError
- New value for the property.public UpgradeCheckFailure.Builder setResolutionStatus(java.lang.String resolutionStatus)
resolutionStatus
- New value for the property.public UpgradeCheckFailure.Builder setType(java.lang.String type)
type
- New value for the property.public UpgradeCheckFailure build()