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