Class SysadminEventData
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.SysadminEventData
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class SysadminEventData extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Data related to the sysadmin event.
Note: Objects should always be created or deserialized using theSysadminEventData.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSysadminEventData.Builder
, which maintain a set of all explicitly set fields calledSysadminEventData.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SysadminEventData.Builder
-
Constructor Summary
Constructors Constructor Description SysadminEventData(String errorCause, String errorLog, List<String> attemptedResolutions, EventStatus resolutionStatus, String resolutionLog, WorkRequestEventDataAdditionalDetails additionalDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SysadminEventData.Builder
builder()
Create a new builder.boolean
equals(Object o)
WorkRequestEventDataAdditionalDetails
getAdditionalDetails()
List<String>
getAttemptedResolutions()
The actions used to attempt fixing the error.String
getErrorCause()
The commands executed by the agent that caused the error.String
getErrorLog()
The output log of the error.String
getResolutionLog()
The log output after the resolutions.EventStatus
getResolutionStatus()
Indicates if the event succeeded.int
hashCode()
SysadminEventData.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SysadminEventData
@Deprecated @ConstructorProperties({"errorCause","errorLog","attemptedResolutions","resolutionStatus","resolutionLog","additionalDetails"}) public SysadminEventData(String errorCause, String errorLog, List<String> attemptedResolutions, EventStatus resolutionStatus, String resolutionLog, WorkRequestEventDataAdditionalDetails additionalDetails)
Deprecated.
-
-
Method Detail
-
builder
public static SysadminEventData.Builder builder()
Create a new builder.
-
toBuilder
public SysadminEventData.Builder toBuilder()
-
getErrorCause
public String getErrorCause()
The commands executed by the agent that caused the error.- Returns:
- the value
-
getErrorLog
public String getErrorLog()
The output log of the error.- Returns:
- the value
-
getAttemptedResolutions
public List<String> getAttemptedResolutions()
The actions used to attempt fixing the error.- Returns:
- the value
-
getResolutionStatus
public EventStatus getResolutionStatus()
Indicates if the event succeeded.- Returns:
- the value
-
getResolutionLog
public String getResolutionLog()
The log output after the resolutions.- Returns:
- the value
-
getAdditionalDetails
public WorkRequestEventDataAdditionalDetails getAdditionalDetails()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-