Class SysadminEventData.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.SysadminEventData.Builder
-
- Enclosing class:
- SysadminEventData
public static class SysadminEventData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SysadminEventData.BuilderadditionalDetails(WorkRequestEventDataAdditionalDetails additionalDetails)SysadminEventData.BuilderattemptedResolutions(List<String> attemptedResolutions)The actions used to attempt fixing the error.SysadminEventDatabuild()SysadminEventData.Buildercopy(SysadminEventData model)SysadminEventData.BuildererrorCause(String errorCause)The commands executed by the agent that caused the error.SysadminEventData.BuildererrorLog(String errorLog)The output log of the error.SysadminEventData.BuilderresolutionLog(String resolutionLog)The log output after the resolutions.SysadminEventData.BuilderresolutionStatus(EventStatus resolutionStatus)Indicates if the event succeeded.
-
-
-
Method Detail
-
errorCause
public SysadminEventData.Builder errorCause(String errorCause)
The commands executed by the agent that caused the error.- Parameters:
errorCause- the value to set- Returns:
- this builder
-
errorLog
public SysadminEventData.Builder errorLog(String errorLog)
The output log of the error.- Parameters:
errorLog- the value to set- Returns:
- this builder
-
attemptedResolutions
public SysadminEventData.Builder attemptedResolutions(List<String> attemptedResolutions)
The actions used to attempt fixing the error.- Parameters:
attemptedResolutions- the value to set- Returns:
- this builder
-
resolutionStatus
public SysadminEventData.Builder resolutionStatus(EventStatus resolutionStatus)
Indicates if the event succeeded.- Parameters:
resolutionStatus- the value to set- Returns:
- this builder
-
resolutionLog
public SysadminEventData.Builder resolutionLog(String resolutionLog)
The log output after the resolutions.- Parameters:
resolutionLog- the value to set- Returns:
- this builder
-
additionalDetails
public SysadminEventData.Builder additionalDetails(WorkRequestEventDataAdditionalDetails additionalDetails)
-
build
public SysadminEventData build()
-
copy
public SysadminEventData.Builder copy(SysadminEventData model)
-
-