@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AlertLogSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The detail for one alert log entry.
Note: Objects should always be created or deserialized using the AlertLogSummary.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 the AlertLogSummary.Builder
, which maintain a
set of all explicitly set fields called AlertLogSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
AlertLogSummary.Builder |
static class |
AlertLogSummary.MessageLevel
The level of the alert log.
|
static class |
AlertLogSummary.MessageType
The type of alert log message.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AlertLogSummary(AlertLogSummary.MessageLevel messageLevel,
AlertLogSummary.MessageType messageType,
String messageContent,
Date timestamp,
String supplementalDetail,
String fileLocation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AlertLogSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getFileLocation()
The alert log file location.
|
String |
getMessageContent()
The contents of the alert log message.
|
AlertLogSummary.MessageLevel |
getMessageLevel()
The level of the alert log.
|
AlertLogSummary.MessageType |
getMessageType()
The type of alert log message.
|
String |
getSupplementalDetail()
The supplemental details of the alert log.
|
Date |
getTimestamp()
The date and time the alert log was created.
|
int |
hashCode() |
AlertLogSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"messageLevel","messageType","messageContent","timestamp","supplementalDetail","fileLocation"}) public AlertLogSummary(AlertLogSummary.MessageLevel messageLevel, AlertLogSummary.MessageType messageType, String messageContent, Date timestamp, String supplementalDetail, String fileLocation)
public static AlertLogSummary.Builder builder()
Create a new builder.
public AlertLogSummary.Builder toBuilder()
public AlertLogSummary.MessageLevel getMessageLevel()
The level of the alert log.
public AlertLogSummary.MessageType getMessageType()
The type of alert log message.
public String getMessageContent()
The contents of the alert log message.
public Date getTimestamp()
The date and time the alert log was created.
public String getSupplementalDetail()
The supplemental details of the alert log.
public String getFileLocation()
The alert log file location.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.