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.ExplicitlySetBmcModelData 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 classSysadminEventData.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.Builderbuilder()Create a new builder.booleanequals(Object o)WorkRequestEventDataAdditionalDetailsgetAdditionalDetails()List<String>getAttemptedResolutions()The actions used to attempt fixing the error.StringgetErrorCause()The commands executed by the agent that caused the error.StringgetErrorLog()The output log of the error.StringgetResolutionLog()The log output after the resolutions.EventStatusgetResolutionStatus()Indicates if the event succeeded.inthashCode()SysadminEventData.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-