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.ExplicitlySetBmcModelLogAnalyticsWarning
 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 SummaryNested Classes Modifier and Type Class Description static classLogAnalyticsWarning.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsWarning.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAgentId()The unique identifier of the agent associated with the warningStringgetCompartmentId()The entity compartment ID.StringgetEntityId()The unique identifier of the entity associated with the warningStringgetEntityName()The name of the entity associated with the warningStringgetEntityType()The type of the entity associated with the warningStringgetEntityTypeDisplayName()The display name of the entity type associated with the warningStringgetHostName()The host containing the agent associated with the warningBooleangetIsActive()A flag indicating if the warning is currently activeBooleangetIsSuppressed()A flag indicating if the warning is currently suppressedStringgetPatternId()The unique identifier of the warning patternStringgetPatternText()The text of the pattern used by the warningStringgetRuleDisplayName()The display name of the rule which triggered the warningStringgetRuleId()The unique identifier of the rule associated with the warningIntegergetSeverity()The warning severityStringgetSourceDisplayName()The display name of the source associated with the warningStringgetSourceId()The unique identifier of the source associated with the warningStringgetSourceName()The name of the source associated with the warningStringgetSuppressedBy()The user who suppressed the warning, or empty if the warning is not suppressedDategetTimeCollected()The time at which the warning was most recently collectedDategetTimeOfInitialWarning()The date at which the warning was initially triggeredDategetTimeOfLatestWarning()The most recent date on which the warning was triggeredStringgetTypeDisplayName()The display name of the warning typeStringgetTypeName()The internal name of the warningStringgetWarningId()The unique identifier of the warningStringgetWarningLevel()The warning level - either pattern, rule, or source.StringgetWarningMessage()A description of the warning intended for the consumer of the warning.inthashCode()LogAnalyticsWarning.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static LogAnalyticsWarning.Builder builder() Create a new builder.
 - 
toBuilderpublic LogAnalyticsWarning.Builder toBuilder() 
 - 
getAgentIdpublic String getAgentId() The unique identifier of the agent associated with the warning- Returns:
- the value
 
 - 
getHostNamepublic String getHostName() The host containing the agent associated with the warning- Returns:
- the value
 
 - 
getRuleDisplayNamepublic String getRuleDisplayName() The display name of the rule which triggered the warning- Returns:
- the value
 
 - 
getSourceNamepublic String getSourceName() The name of the source associated with the warning- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The entity compartment ID.- Returns:
- the value
 
 - 
getSourceDisplayNamepublic String getSourceDisplayName() The display name of the source associated with the warning- Returns:
- the value
 
 - 
getEntityNamepublic String getEntityName() The name of the entity associated with the warning- Returns:
- the value
 
 - 
getTimeCollectedpublic Date getTimeCollected() The time at which the warning was most recently collected- Returns:
- the value
 
 - 
getWarningIdpublic String getWarningId() The unique identifier of the warning- Returns:
- the value
 
 - 
getTimeOfInitialWarningpublic Date getTimeOfInitialWarning() The date at which the warning was initially triggered- Returns:
- the value
 
 - 
getIsActivepublic Boolean getIsActive() A flag indicating if the warning is currently active- Returns:
- the value
 
 - 
getIsSuppressedpublic Boolean getIsSuppressed() A flag indicating if the warning is currently suppressed- Returns:
- the value
 
 - 
getTimeOfLatestWarningpublic Date getTimeOfLatestWarning() The most recent date on which the warning was triggered- Returns:
- the value
 
 - 
getWarningLevelpublic String getWarningLevel() The warning level - either pattern, rule, or source.- Returns:
- the value
 
 - 
getWarningMessagepublic 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
 
 - 
getPatternIdpublic String getPatternId() The unique identifier of the warning pattern- Returns:
- the value
 
 - 
getPatternTextpublic String getPatternText() The text of the pattern used by the warning- Returns:
- the value
 
 - 
getRuleIdpublic String getRuleId() The unique identifier of the rule associated with the warning- Returns:
- the value
 
 - 
getSourceIdpublic String getSourceId() The unique identifier of the source associated with the warning- Returns:
- the value
 
 - 
getSuppressedBypublic String getSuppressedBy() The user who suppressed the warning, or empty if the warning is not suppressed- Returns:
- the value
 
 - 
getEntityIdpublic String getEntityId() The unique identifier of the entity associated with the warning- Returns:
- the value
 
 - 
getEntityTypepublic String getEntityType() The type of the entity associated with the warning- Returns:
- the value
 
 - 
getEntityTypeDisplayNamepublic String getEntityTypeDisplayName() The display name of the entity type associated with the warning- Returns:
- the value
 
 - 
getTypeDisplayNamepublic String getTypeDisplayName() The display name of the warning type- Returns:
- the value
 
 - 
getTypeNamepublic String getTypeName() The internal name of the warning- Returns:
- the value
 
 - 
getSeveritypublic Integer getSeverity() The warning severity- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-