Class LogAnalyticsWarning
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsWarning
-
@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 theLogAnalyticsWarning.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 calledLogAnalyticsWarning.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
LogAnalyticsWarning.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsWarning.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAgentId()
The unique identifier of the agent associated with the warningString
getCompartmentId()
The entity compartment ID.String
getEntityId()
The unique identifier of the entity associated with the warningString
getEntityName()
The name of the entity associated with the warningString
getEntityType()
The type of the entity associated with the warningString
getEntityTypeDisplayName()
The display name of the entity type associated with the warningString
getHostName()
The host containing the agent associated with the warningBoolean
getIsActive()
A flag indicating if the warning is currently activeBoolean
getIsSuppressed()
A flag indicating if the warning is currently suppressedString
getPatternId()
The unique identifier of the warning patternString
getPatternText()
The text of the pattern used by the warningString
getRuleDisplayName()
The display name of the rule which triggered the warningString
getRuleId()
The unique identifier of the rule associated with the warningInteger
getSeverity()
The warning severityString
getSourceDisplayName()
The display name of the source associated with the warningString
getSourceId()
The unique identifier of the source associated with the warningString
getSourceName()
The name of the source associated with the warningString
getSuppressedBy()
The user who suppressed the warning, or empty if the warning is not suppressedDate
getTimeCollected()
The time at which the warning was most recently collectedDate
getTimeOfInitialWarning()
The date at which the warning was initially triggeredDate
getTimeOfLatestWarning()
The most recent date on which the warning was triggeredString
getTypeDisplayName()
The display name of the warning typeString
getTypeName()
The internal name of the warningString
getWarningId()
The unique identifier of the warningString
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.
-
-
-
Constructor Detail
-
LogAnalyticsWarning
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsWarning.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsWarning.Builder toBuilder()
-
getAgentId
public String getAgentId()
The unique identifier of the agent associated with the warning- Returns:
- the value
-
getHostName
public String getHostName()
The host containing the agent associated with the warning- Returns:
- the value
-
getRuleDisplayName
public String getRuleDisplayName()
The display name of the rule which triggered the warning- Returns:
- the value
-
getSourceName
public String getSourceName()
The name of the source associated with the warning- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The entity compartment ID.- Returns:
- the value
-
getSourceDisplayName
public String getSourceDisplayName()
The display name of the source associated with the warning- Returns:
- the value
-
getEntityName
public String getEntityName()
The name of the entity associated with the warning- Returns:
- the value
-
getTimeCollected
public Date getTimeCollected()
The time at which the warning was most recently collected- Returns:
- the value
-
getWarningId
public String getWarningId()
The unique identifier of the warning- Returns:
- the value
-
getTimeOfInitialWarning
public Date getTimeOfInitialWarning()
The date at which the warning was initially triggered- Returns:
- the value
-
getIsActive
public Boolean getIsActive()
A flag indicating if the warning is currently active- Returns:
- the value
-
getIsSuppressed
public Boolean getIsSuppressed()
A flag indicating if the warning is currently suppressed- Returns:
- the value
-
getTimeOfLatestWarning
public Date getTimeOfLatestWarning()
The most recent date on which the warning was triggered- Returns:
- the value
-
getWarningLevel
public String getWarningLevel()
The warning level - either pattern, rule, or source.- Returns:
- the value
-
getWarningMessage
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
- Returns:
- the value
-
getPatternId
public String getPatternId()
The unique identifier of the warning pattern- Returns:
- the value
-
getPatternText
public String getPatternText()
The text of the pattern used by the warning- Returns:
- the value
-
getRuleId
public String getRuleId()
The unique identifier of the rule associated with the warning- Returns:
- the value
-
getSourceId
public String getSourceId()
The unique identifier of the source associated with the warning- Returns:
- the value
-
getSuppressedBy
public String getSuppressedBy()
The user who suppressed the warning, or empty if the warning is not suppressed- Returns:
- the value
-
getEntityId
public String getEntityId()
The unique identifier of the entity associated with the warning- Returns:
- the value
-
getEntityType
public String getEntityType()
The type of the entity associated with the warning- Returns:
- the value
-
getEntityTypeDisplayName
public String getEntityTypeDisplayName()
The display name of the entity type associated with the warning- Returns:
- the value
-
getTypeDisplayName
public String getTypeDisplayName()
The display name of the warning type- Returns:
- the value
-
getTypeName
public String getTypeName()
The internal name of the warning- Returns:
- the value
-
getSeverity
public Integer getSeverity()
The warning severity- 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
-
-