@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsWarning extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
LogAnalyticsWarning
Note: Objects should always be created or deserialized using the LogAnalyticsWarning.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 LogAnalyticsWarning.Builder
, which maintain a
set of all explicitly set fields called LogAnalyticsWarning.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 |
LogAnalyticsWarning.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
LogAnalyticsWarning(String agentId,
String hostName,
String ruleDisplayName,
String sourceName,
String compartmentId,
String sourceDisplayName,
String entityName,
Date timeCollected,
String warningId,
Date timeOfInitialWarning,
Boolean isActive,
Boolean isSuppressed,
Date timeOfLatestWarning,
String warningLevel,
String warningMessage,
String patternId,
String patternText,
String ruleId,
String sourceId,
String suppressedBy,
String entityId,
String entityType,
String entityTypeDisplayName,
String typeDisplayName,
String typeName,
Integer severity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LogAnalyticsWarning.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAgentId()
The unique identifier of the agent associated with the warning
|
String |
getCompartmentId()
The entity compartment ID.
|
String |
getEntityId()
The unique identifier of the entity associated with the warning
|
String |
getEntityName()
The name of the entity associated with the warning
|
String |
getEntityType()
The type of the entity associated with the warning
|
String |
getEntityTypeDisplayName()
The display name of the entity type associated with the warning
|
String |
getHostName()
The host containing the agent associated with the warning
|
Boolean |
getIsActive()
A flag indicating if the warning is currently active
|
Boolean |
getIsSuppressed()
A flag indicating if the warning is currently suppressed
|
String |
getPatternId()
The unique identifier of the warning pattern
|
String |
getPatternText()
The text of the pattern used by the warning
|
String |
getRuleDisplayName()
The display name of the rule which triggered the warning
|
String |
getRuleId()
The unique identifier of the rule associated with the warning
|
Integer |
getSeverity()
The warning severity
|
String |
getSourceDisplayName()
The display name of the source associated with the warning
|
String |
getSourceId()
The unique identifier of the source associated with the warning
|
String |
getSourceName()
The name of the source associated with the warning
|
String |
getSuppressedBy()
The user who suppressed the warning, or empty if the warning is not suppressed
|
Date |
getTimeCollected()
The time at which the warning was most recently collected
|
Date |
getTimeOfInitialWarning()
The date at which the warning was initially triggered
|
Date |
getTimeOfLatestWarning()
The most recent date on which the warning was triggered
|
String |
getTypeDisplayName()
The display name of the warning type
|
String |
getTypeName()
The internal name of the warning
|
String |
getWarningId()
The unique identifier of the warning
|
String |
getWarningLevel()
The warning level - either pattern, rule, or source.
|
String |
getWarningMessage()
A description of the warning intended for the consumer of the warning.
|
int |
hashCode() |
LogAnalyticsWarning.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"agentId","hostName","ruleDisplayName","sourceName","compartmentId","sourceDisplayName","entityName","timeCollected","warningId","timeOfInitialWarning","isActive","isSuppressed","timeOfLatestWarning","warningLevel","warningMessage","patternId","patternText","ruleId","sourceId","suppressedBy","entityId","entityType","entityTypeDisplayName","typeDisplayName","typeName","severity"}) public LogAnalyticsWarning(String agentId, String hostName, String ruleDisplayName, String sourceName, String compartmentId, String sourceDisplayName, String entityName, Date timeCollected, String warningId, Date timeOfInitialWarning, Boolean isActive, Boolean isSuppressed, Date timeOfLatestWarning, String warningLevel, String warningMessage, String patternId, String patternText, String ruleId, String sourceId, String suppressedBy, String entityId, String entityType, String entityTypeDisplayName, String typeDisplayName, String typeName, Integer severity)
public static LogAnalyticsWarning.Builder builder()
Create a new builder.
public LogAnalyticsWarning.Builder toBuilder()
public String getAgentId()
The unique identifier of the agent associated with the warning
public String getHostName()
The host containing the agent associated with the warning
public String getRuleDisplayName()
The display name of the rule which triggered the warning
public String getSourceName()
The name of the source associated with the warning
public String getCompartmentId()
The entity compartment ID.
public String getSourceDisplayName()
The display name of the source associated with the warning
public String getEntityName()
The name of the entity associated with the warning
public Date getTimeCollected()
The time at which the warning was most recently collected
public String getWarningId()
The unique identifier of the warning
public Date getTimeOfInitialWarning()
The date at which the warning was initially triggered
public Boolean getIsActive()
A flag indicating if the warning is currently active
public Boolean getIsSuppressed()
A flag indicating if the warning is currently suppressed
public Date getTimeOfLatestWarning()
The most recent date on which the warning was triggered
public String getWarningLevel()
The warning level - either pattern, rule, or source.
public String getWarningMessage()
A description of the warning intended for the consumer of the warning. It will usually detail the cause of the warning, may suggest a remedy, and can contain any other relevant information the consumer might find useful
public String getPatternId()
The unique identifier of the warning pattern
public String getPatternText()
The text of the pattern used by the warning
public String getRuleId()
The unique identifier of the rule associated with the warning
public String getSourceId()
The unique identifier of the source associated with the warning
public String getSuppressedBy()
The user who suppressed the warning, or empty if the warning is not suppressed
public String getEntityId()
The unique identifier of the entity associated with the warning
public String getEntityType()
The type of the entity associated with the warning
public String getEntityTypeDisplayName()
The display name of the entity type associated with the warning
public String getTypeDisplayName()
The display name of the warning type
public String getTypeName()
The internal name of the warning
public Integer getSeverity()
The warning severity
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.