public static final class OdsRunbookInvocationReport.Builder
extends java.lang.Object
OdsRunbookInvocationReport
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
OdsRunbookInvocationReport . |
Modifier and Type | Method and Description |
---|---|
OdsRunbookInvocationReport |
build() |
OdsRunbookInvocationReport.Builder |
setErrorDetail(java.lang.String errorDetail)
The error detail of the invalid report.
|
OdsRunbookInvocationReport.Builder |
setInvalidReason(java.lang.String invalidReason)
Possible values are:
OdsRunbookInvocationReport.INVALID_REASON_TIMEOUT
OdsRunbookInvocationReport.INVALID_REASON_CANCELLED
OdsRunbookInvocationReport.INVALID_REASON_INTERNAL_ERROR
The reason why this report is invalid. |
OdsRunbookInvocationReport.Builder |
setInvocationId(java.lang.String invocationId)
The universally unique identifier for invocation of an Online Diagnostic System
runbook.
|
OdsRunbookInvocationReport.Builder |
setRecommendationCode(java.lang.Long recommendationCode)
Online Diagnostic System recommendation code of the runbook invocation.
|
OdsRunbookInvocationReport.Builder |
setRecommendationMessage(java.lang.String recommendationMessage)
Online Diagnostic System recommendation message of the runbook invocation.
|
OdsRunbookInvocationReport.Builder |
setResultCode(java.lang.Long resultCode)
Online Diagnostic System result code of the runbook invocation.
|
OdsRunbookInvocationReport.Builder |
setResultMessage(java.lang.String resultMessage)
Online Diagnostic System result message of the runbook invocation.
|
OdsRunbookInvocationReport.Builder |
setStatus(OdsRunbookInvocationStatus status) |
OdsRunbookInvocationReport.Builder |
setStepDetails(java.util.List<OdsRunbookInvocationStepInfo> stepDetails)
Details of performed steps in the invocation of an Online Diagnostic System
runbook.
|
OdsRunbookInvocationReport.Builder |
setSysInfo(OdsRunbookSysInfo sysInfo) |
OdsRunbookInvocationReport.Builder |
setTargetNode(java.lang.String targetNode)
Identifier of an appliance node or transport node where the execution of an
Online Diagnostic System runbook happens.
|
OdsRunbookInvocationReport.Builder |
setTimestamp(java.lang.Long timestamp)
The timestamp when the report of an Online Diagnostic System runbook is
generated in milliseconds epoch.
|
public Builder()
OdsRunbookInvocationReport
.public OdsRunbookInvocationReport.Builder setErrorDetail(java.lang.String errorDetail)
errorDetail
- New value for the property.public OdsRunbookInvocationReport.Builder setInvalidReason(java.lang.String invalidReason)
invalidReason
- New value for the property.public OdsRunbookInvocationReport.Builder setInvocationId(java.lang.String invocationId)
invocationId
- New value for the property.public OdsRunbookInvocationReport.Builder setRecommendationCode(java.lang.Long recommendationCode)
recommendationCode
- New value for the property.public OdsRunbookInvocationReport.Builder setRecommendationMessage(java.lang.String recommendationMessage)
recommendationMessage
- New value for the property.public OdsRunbookInvocationReport.Builder setResultCode(java.lang.Long resultCode)
resultCode
- New value for the property.public OdsRunbookInvocationReport.Builder setResultMessage(java.lang.String resultMessage)
resultMessage
- New value for the property.public OdsRunbookInvocationReport.Builder setStatus(OdsRunbookInvocationStatus status)
status
- New value for the property.public OdsRunbookInvocationReport.Builder setStepDetails(java.util.List<OdsRunbookInvocationStepInfo> stepDetails)
stepDetails
- New value for the property.public OdsRunbookInvocationReport.Builder setSysInfo(OdsRunbookSysInfo sysInfo)
sysInfo
- New value for the property.public OdsRunbookInvocationReport.Builder setTargetNode(java.lang.String targetNode)
targetNode
- New value for the property.public OdsRunbookInvocationReport.Builder setTimestamp(java.lang.Long timestamp)
timestamp
- New value for the property.public OdsRunbookInvocationReport build()