Class AttentionLogSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.AttentionLogSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AttentionLogSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details for one attention log entry.
Note: Objects should always be created or deserialized using theAttentionLogSummary.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 theAttentionLogSummary.Builder
, which maintain a set of all explicitly set fields calledAttentionLogSummary.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
AttentionLogSummary.Builder
static class
AttentionLogSummary.MessageType
The type of attention log message.static class
AttentionLogSummary.MessageUrgency
The urgency of the attention log.
-
Constructor Summary
Constructors Constructor Description AttentionLogSummary(AttentionLogSummary.MessageUrgency messageUrgency, AttentionLogSummary.MessageType messageType, String messageContent, Date timestamp, String scope, String targetUser, String cause, String action, String supplementalDetail, String fileLocation)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttentionLogSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAction()
The recommended action to handle the attention log.String
getCause()
The cause of the attention log.String
getFileLocation()
The attention log file location.String
getMessageContent()
The contents of the attention log message.AttentionLogSummary.MessageType
getMessageType()
The type of attention log message.AttentionLogSummary.MessageUrgency
getMessageUrgency()
The urgency of the attention log.String
getScope()
The database scope for the attention log.String
getSupplementalDetail()
The supplemental details of the attention log.String
getTargetUser()
The user who must act on the attention log message.Date
getTimestamp()
The date and time the attention log was created.int
hashCode()
AttentionLogSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AttentionLogSummary
@Deprecated @ConstructorProperties({"messageUrgency","messageType","messageContent","timestamp","scope","targetUser","cause","action","supplementalDetail","fileLocation"}) public AttentionLogSummary(AttentionLogSummary.MessageUrgency messageUrgency, AttentionLogSummary.MessageType messageType, String messageContent, Date timestamp, String scope, String targetUser, String cause, String action, String supplementalDetail, String fileLocation)
Deprecated.
-
-
Method Detail
-
builder
public static AttentionLogSummary.Builder builder()
Create a new builder.
-
toBuilder
public AttentionLogSummary.Builder toBuilder()
-
getMessageUrgency
public AttentionLogSummary.MessageUrgency getMessageUrgency()
The urgency of the attention log.- Returns:
- the value
-
getMessageType
public AttentionLogSummary.MessageType getMessageType()
The type of attention log message.- Returns:
- the value
-
getMessageContent
public String getMessageContent()
The contents of the attention log message.- Returns:
- the value
-
getTimestamp
public Date getTimestamp()
The date and time the attention log was created.- Returns:
- the value
-
getScope
public String getScope()
The database scope for the attention log.- Returns:
- the value
-
getTargetUser
public String getTargetUser()
The user who must act on the attention log message.- Returns:
- the value
-
getCause
public String getCause()
The cause of the attention log.- Returns:
- the value
-
getAction
public String getAction()
The recommended action to handle the attention log.- Returns:
- the value
-
getSupplementalDetail
public String getSupplementalDetail()
The supplemental details of the attention log.- Returns:
- the value
-
getFileLocation
public String getFileLocation()
The attention log file location.- Returns:
- the value
-
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
-
-