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.Builder
agentId(String agentId)
The unique identifier of the agent associated with the warningLogAnalyticsWarning
build()
LogAnalyticsWarning.Builder
compartmentId(String compartmentId)
The entity compartment ID.LogAnalyticsWarning.Builder
copy(LogAnalyticsWarning model)
LogAnalyticsWarning.Builder
entityId(String entityId)
The unique identifier of the entity associated with the warningLogAnalyticsWarning.Builder
entityName(String entityName)
The name of the entity associated with the warningLogAnalyticsWarning.Builder
entityType(String entityType)
The type of the entity associated with the warningLogAnalyticsWarning.Builder
entityTypeDisplayName(String entityTypeDisplayName)
The display name of the entity type associated with the warningLogAnalyticsWarning.Builder
hostName(String hostName)
The host containing the agent associated with the warningLogAnalyticsWarning.Builder
isActive(Boolean isActive)
A flag indicating if the warning is currently activeLogAnalyticsWarning.Builder
isSuppressed(Boolean isSuppressed)
A flag indicating if the warning is currently suppressedLogAnalyticsWarning.Builder
patternId(String patternId)
The unique identifier of the warning patternLogAnalyticsWarning.Builder
patternText(String patternText)
The text of the pattern used by the warningLogAnalyticsWarning.Builder
ruleDisplayName(String ruleDisplayName)
The display name of the rule which triggered the warningLogAnalyticsWarning.Builder
ruleId(String ruleId)
The unique identifier of the rule associated with the warningLogAnalyticsWarning.Builder
severity(Integer severity)
The warning severityLogAnalyticsWarning.Builder
sourceDisplayName(String sourceDisplayName)
The display name of the source associated with the warningLogAnalyticsWarning.Builder
sourceId(String sourceId)
The unique identifier of the source associated with the warningLogAnalyticsWarning.Builder
sourceName(String sourceName)
The name of the source associated with the warningLogAnalyticsWarning.Builder
suppressedBy(String suppressedBy)
The user who suppressed the warning, or empty if the warning is not suppressedLogAnalyticsWarning.Builder
timeCollected(Date timeCollected)
The time at which the warning was most recently collectedLogAnalyticsWarning.Builder
timeOfInitialWarning(Date timeOfInitialWarning)
The date at which the warning was initially triggeredLogAnalyticsWarning.Builder
timeOfLatestWarning(Date timeOfLatestWarning)
The most recent date on which the warning was triggeredLogAnalyticsWarning.Builder
typeDisplayName(String typeDisplayName)
The display name of the warning typeLogAnalyticsWarning.Builder
typeName(String typeName)
The internal name of the warningLogAnalyticsWarning.Builder
warningId(String warningId)
The unique identifier of the warningLogAnalyticsWarning.Builder
warningLevel(String warningLevel)
The warning level - either pattern, rule, or source.LogAnalyticsWarning.Builder
warningMessage(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)
-
-