public static class LogAnalyticsWarning.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogAnalyticsWarning.Builder |
agentId(String agentId)
The unique identifier of the agent associated with the warning
|
LogAnalyticsWarning |
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 warning
|
LogAnalyticsWarning.Builder |
entityName(String entityName)
The name of the entity associated with the warning
|
LogAnalyticsWarning.Builder |
entityType(String entityType)
The type of the entity associated with the warning
|
LogAnalyticsWarning.Builder |
entityTypeDisplayName(String entityTypeDisplayName)
The display name of the entity type associated with the warning
|
LogAnalyticsWarning.Builder |
hostName(String hostName)
The host containing the agent associated with the warning
|
LogAnalyticsWarning.Builder |
isActive(Boolean isActive)
A flag indicating if the warning is currently active
|
LogAnalyticsWarning.Builder |
isSuppressed(Boolean isSuppressed)
A flag indicating if the warning is currently suppressed
|
LogAnalyticsWarning.Builder |
patternId(String patternId)
The unique identifier of the warning pattern
|
LogAnalyticsWarning.Builder |
patternText(String patternText)
The text of the pattern used by the warning
|
LogAnalyticsWarning.Builder |
ruleDisplayName(String ruleDisplayName)
The display name of the rule which triggered the warning
|
LogAnalyticsWarning.Builder |
ruleId(String ruleId)
The unique identifier of the rule associated with the warning
|
LogAnalyticsWarning.Builder |
severity(Integer severity)
The warning severity
|
LogAnalyticsWarning.Builder |
sourceDisplayName(String sourceDisplayName)
The display name of the source associated with the warning
|
LogAnalyticsWarning.Builder |
sourceId(String sourceId)
The unique identifier of the source associated with the warning
|
LogAnalyticsWarning.Builder |
sourceName(String sourceName)
The name of the source associated with the warning
|
LogAnalyticsWarning.Builder |
suppressedBy(String suppressedBy)
The user who suppressed the warning, or empty if the warning is not suppressed
|
LogAnalyticsWarning.Builder |
timeCollected(Date timeCollected)
The time at which the warning was most recently collected
|
LogAnalyticsWarning.Builder |
timeOfInitialWarning(Date timeOfInitialWarning)
The date at which the warning was initially triggered
|
LogAnalyticsWarning.Builder |
timeOfLatestWarning(Date timeOfLatestWarning)
The most recent date on which the warning was triggered
|
LogAnalyticsWarning.Builder |
typeDisplayName(String typeDisplayName)
The display name of the warning type
|
LogAnalyticsWarning.Builder |
typeName(String typeName)
The internal name of the warning
|
LogAnalyticsWarning.Builder |
warningId(String warningId)
The unique identifier of the warning
|
LogAnalyticsWarning.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.
|
public LogAnalyticsWarning.Builder agentId(String agentId)
The unique identifier of the agent associated with the warning
agentId
- the value to setpublic LogAnalyticsWarning.Builder hostName(String hostName)
The host containing the agent associated with the warning
hostName
- the value to setpublic LogAnalyticsWarning.Builder ruleDisplayName(String ruleDisplayName)
The display name of the rule which triggered the warning
ruleDisplayName
- the value to setpublic LogAnalyticsWarning.Builder sourceName(String sourceName)
The name of the source associated with the warning
sourceName
- the value to setpublic LogAnalyticsWarning.Builder compartmentId(String compartmentId)
The entity compartment ID.
compartmentId
- the value to setpublic LogAnalyticsWarning.Builder sourceDisplayName(String sourceDisplayName)
The display name of the source associated with the warning
sourceDisplayName
- the value to setpublic LogAnalyticsWarning.Builder entityName(String entityName)
The name of the entity associated with the warning
entityName
- the value to setpublic LogAnalyticsWarning.Builder timeCollected(Date timeCollected)
The time at which the warning was most recently collected
timeCollected
- the value to setpublic LogAnalyticsWarning.Builder warningId(String warningId)
The unique identifier of the warning
warningId
- the value to setpublic LogAnalyticsWarning.Builder timeOfInitialWarning(Date timeOfInitialWarning)
The date at which the warning was initially triggered
timeOfInitialWarning
- the value to setpublic LogAnalyticsWarning.Builder isActive(Boolean isActive)
A flag indicating if the warning is currently active
isActive
- the value to setpublic LogAnalyticsWarning.Builder isSuppressed(Boolean isSuppressed)
A flag indicating if the warning is currently suppressed
isSuppressed
- the value to setpublic LogAnalyticsWarning.Builder timeOfLatestWarning(Date timeOfLatestWarning)
The most recent date on which the warning was triggered
timeOfLatestWarning
- the value to setpublic LogAnalyticsWarning.Builder warningLevel(String warningLevel)
The warning level - either pattern, rule, or source.
warningLevel
- the value to setpublic 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
warningMessage
- the value to setpublic LogAnalyticsWarning.Builder patternId(String patternId)
The unique identifier of the warning pattern
patternId
- the value to setpublic LogAnalyticsWarning.Builder patternText(String patternText)
The text of the pattern used by the warning
patternText
- the value to setpublic LogAnalyticsWarning.Builder ruleId(String ruleId)
The unique identifier of the rule associated with the warning
ruleId
- the value to setpublic LogAnalyticsWarning.Builder sourceId(String sourceId)
The unique identifier of the source associated with the warning
sourceId
- the value to setpublic LogAnalyticsWarning.Builder suppressedBy(String suppressedBy)
The user who suppressed the warning, or empty if the warning is not suppressed
suppressedBy
- the value to setpublic LogAnalyticsWarning.Builder entityId(String entityId)
The unique identifier of the entity associated with the warning
entityId
- the value to setpublic LogAnalyticsWarning.Builder entityType(String entityType)
The type of the entity associated with the warning
entityType
- the value to setpublic LogAnalyticsWarning.Builder entityTypeDisplayName(String entityTypeDisplayName)
The display name of the entity type associated with the warning
entityTypeDisplayName
- the value to setpublic LogAnalyticsWarning.Builder typeDisplayName(String typeDisplayName)
The display name of the warning type
typeDisplayName
- the value to setpublic LogAnalyticsWarning.Builder typeName(String typeName)
The internal name of the warning
typeName
- the value to setpublic LogAnalyticsWarning.Builder severity(Integer severity)
The warning severity
severity
- the value to setpublic LogAnalyticsWarning build()
public LogAnalyticsWarning.Builder copy(LogAnalyticsWarning model)
Copyright © 2016–2024. All rights reserved.