Class LogAnalyticsWarning.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsWarning.Builder
-
- Enclosing class:
- LogAnalyticsWarning
public static class LogAnalyticsWarning.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsWarning.BuilderagentId(String agentId)The unique identifier of the agent associated with the warningLogAnalyticsWarningbuild()LogAnalyticsWarning.BuildercompartmentId(String compartmentId)The entity compartment ID.LogAnalyticsWarning.Buildercopy(LogAnalyticsWarning model)LogAnalyticsWarning.BuilderentityId(String entityId)The unique identifier of the entity associated with the warningLogAnalyticsWarning.BuilderentityName(String entityName)The name of the entity associated with the warningLogAnalyticsWarning.BuilderentityType(String entityType)The type of the entity associated with the warningLogAnalyticsWarning.BuilderentityTypeDisplayName(String entityTypeDisplayName)The display name of the entity type associated with the warningLogAnalyticsWarning.BuilderhostName(String hostName)The host containing the agent associated with the warningLogAnalyticsWarning.BuilderisActive(Boolean isActive)A flag indicating if the warning is currently activeLogAnalyticsWarning.BuilderisSuppressed(Boolean isSuppressed)A flag indicating if the warning is currently suppressedLogAnalyticsWarning.BuilderpatternId(String patternId)The unique identifier of the warning patternLogAnalyticsWarning.BuilderpatternText(String patternText)The text of the pattern used by the warningLogAnalyticsWarning.BuilderruleDisplayName(String ruleDisplayName)The display name of the rule which triggered the warningLogAnalyticsWarning.BuilderruleId(String ruleId)The unique identifier of the rule associated with the warningLogAnalyticsWarning.Builderseverity(Integer severity)The warning severityLogAnalyticsWarning.BuildersourceDisplayName(String sourceDisplayName)The display name of the source associated with the warningLogAnalyticsWarning.BuildersourceId(String sourceId)The unique identifier of the source associated with the warningLogAnalyticsWarning.BuildersourceName(String sourceName)The name of the source associated with the warningLogAnalyticsWarning.BuildersuppressedBy(String suppressedBy)The user who suppressed the warning, or empty if the warning is not suppressedLogAnalyticsWarning.BuildertimeCollected(Date timeCollected)The time at which the warning was most recently collectedLogAnalyticsWarning.BuildertimeOfInitialWarning(Date timeOfInitialWarning)The date at which the warning was initially triggeredLogAnalyticsWarning.BuildertimeOfLatestWarning(Date timeOfLatestWarning)The most recent date on which the warning was triggeredLogAnalyticsWarning.BuildertypeDisplayName(String typeDisplayName)The display name of the warning typeLogAnalyticsWarning.BuildertypeName(String typeName)The internal name of the warningLogAnalyticsWarning.BuilderwarningId(String warningId)The unique identifier of the warningLogAnalyticsWarning.BuilderwarningLevel(String warningLevel)The warning level - either pattern, rule, or source.LogAnalyticsWarning.BuilderwarningMessage(String warningMessage)A description of the warning intended for the consumer of the warning.
-
-
-
Method Detail
-
agentId
public LogAnalyticsWarning.Builder agentId(String agentId)
The unique identifier of the agent associated with the warning- Parameters:
agentId- the value to set- Returns:
- this builder
-
hostName
public LogAnalyticsWarning.Builder hostName(String hostName)
The host containing the agent associated with the warning- Parameters:
hostName- the value to set- Returns:
- this builder
-
ruleDisplayName
public LogAnalyticsWarning.Builder ruleDisplayName(String ruleDisplayName)
The display name of the rule which triggered the warning- Parameters:
ruleDisplayName- the value to set- Returns:
- this builder
-
sourceName
public LogAnalyticsWarning.Builder sourceName(String sourceName)
The name of the source associated with the warning- Parameters:
sourceName- the value to set- Returns:
- this builder
-
compartmentId
public LogAnalyticsWarning.Builder compartmentId(String compartmentId)
The entity compartment ID.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
sourceDisplayName
public LogAnalyticsWarning.Builder sourceDisplayName(String sourceDisplayName)
The display name of the source associated with the warning- Parameters:
sourceDisplayName- the value to set- Returns:
- this builder
-
entityName
public LogAnalyticsWarning.Builder entityName(String entityName)
The name of the entity associated with the warning- Parameters:
entityName- the value to set- Returns:
- this builder
-
timeCollected
public LogAnalyticsWarning.Builder timeCollected(Date timeCollected)
The time at which the warning was most recently collected- Parameters:
timeCollected- the value to set- Returns:
- this builder
-
warningId
public LogAnalyticsWarning.Builder warningId(String warningId)
The unique identifier of the warning- Parameters:
warningId- the value to set- Returns:
- this builder
-
timeOfInitialWarning
public LogAnalyticsWarning.Builder timeOfInitialWarning(Date timeOfInitialWarning)
The date at which the warning was initially triggered- Parameters:
timeOfInitialWarning- the value to set- Returns:
- this builder
-
isActive
public LogAnalyticsWarning.Builder isActive(Boolean isActive)
A flag indicating if the warning is currently active- Parameters:
isActive- the value to set- Returns:
- this builder
-
isSuppressed
public LogAnalyticsWarning.Builder isSuppressed(Boolean isSuppressed)
A flag indicating if the warning is currently suppressed- Parameters:
isSuppressed- the value to set- Returns:
- this builder
-
timeOfLatestWarning
public LogAnalyticsWarning.Builder timeOfLatestWarning(Date timeOfLatestWarning)
The most recent date on which the warning was triggered- Parameters:
timeOfLatestWarning- the value to set- Returns:
- this builder
-
warningLevel
public LogAnalyticsWarning.Builder warningLevel(String warningLevel)
The warning level - either pattern, rule, or source.- Parameters:
warningLevel- the value to set- Returns:
- this builder
-
warningMessage
public LogAnalyticsWarning.Builder warningMessage(String warningMessage)
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
- Parameters:
warningMessage- the value to set- Returns:
- this builder
-
patternId
public LogAnalyticsWarning.Builder patternId(String patternId)
The unique identifier of the warning pattern- Parameters:
patternId- the value to set- Returns:
- this builder
-
patternText
public LogAnalyticsWarning.Builder patternText(String patternText)
The text of the pattern used by the warning- Parameters:
patternText- the value to set- Returns:
- this builder
-
ruleId
public LogAnalyticsWarning.Builder ruleId(String ruleId)
The unique identifier of the rule associated with the warning- Parameters:
ruleId- the value to set- Returns:
- this builder
-
sourceId
public LogAnalyticsWarning.Builder sourceId(String sourceId)
The unique identifier of the source associated with the warning- Parameters:
sourceId- the value to set- Returns:
- this builder
-
suppressedBy
public LogAnalyticsWarning.Builder suppressedBy(String suppressedBy)
The user who suppressed the warning, or empty if the warning is not suppressed- Parameters:
suppressedBy- the value to set- Returns:
- this builder
-
entityId
public LogAnalyticsWarning.Builder entityId(String entityId)
The unique identifier of the entity associated with the warning- Parameters:
entityId- the value to set- Returns:
- this builder
-
entityType
public LogAnalyticsWarning.Builder entityType(String entityType)
The type of the entity associated with the warning- Parameters:
entityType- the value to set- Returns:
- this builder
-
entityTypeDisplayName
public LogAnalyticsWarning.Builder entityTypeDisplayName(String entityTypeDisplayName)
The display name of the entity type associated with the warning- Parameters:
entityTypeDisplayName- the value to set- Returns:
- this builder
-
typeDisplayName
public LogAnalyticsWarning.Builder typeDisplayName(String typeDisplayName)
The display name of the warning type- Parameters:
typeDisplayName- the value to set- Returns:
- this builder
-
typeName
public LogAnalyticsWarning.Builder typeName(String typeName)
The internal name of the warning- Parameters:
typeName- the value to set- Returns:
- this builder
-
severity
public LogAnalyticsWarning.Builder severity(Integer severity)
The warning severity- Parameters:
severity- the value to set- Returns:
- this builder
-
build
public LogAnalyticsWarning build()
-
copy
public LogAnalyticsWarning.Builder copy(LogAnalyticsWarning model)
-
-