public static class LogAnalyticsLabel.Builder extends Object
Constructor and Description |
---|
Builder() |
public LogAnalyticsLabel.Builder aliases(List<LogAnalyticsLabelAlias> aliases)
An array of label aliases.
aliases
- the value to setpublic LogAnalyticsLabel.Builder countUsageInSource(Long countUsageInSource)
The source usage count for this label.
countUsageInSource
- the value to setpublic LogAnalyticsLabel.Builder suggestType(Long suggestType)
The type of suggestion for label usage.
suggestType
- the value to setpublic LogAnalyticsLabel.Builder description(String description)
The label description.
description
- the value to setpublic LogAnalyticsLabel.Builder displayName(String displayName)
The label display name.
displayName
- the value to setpublic LogAnalyticsLabel.Builder editVersion(Long editVersion)
The label edit version.
editVersion
- the value to setpublic LogAnalyticsLabel.Builder impact(String impact)
The label impact.
impact
- the value to setpublic LogAnalyticsLabel.Builder isSystem(Boolean isSystem)
The system flag. A value of false denotes a custom, or user defined label. A value of true denotes a built in label.
isSystem
- the value to setpublic LogAnalyticsLabel.Builder name(String name)
The label name.
name
- the value to setpublic LogAnalyticsLabel.Builder priority(LogAnalyticsLabel.Priority priority)
The label priority. Valid values are (NONE, LOW, HIGH). NONE is default.
priority
- the value to setpublic LogAnalyticsLabel.Builder recommendation(String recommendation)
The label recommendation.
recommendation
- the value to setpublic LogAnalyticsLabel.Builder type(LogAnalyticsLabel.Type type)
The label type. Valid values are (INFO, PROBLEM). INFO is default.
type
- the value to setpublic LogAnalyticsLabel.Builder isUserDeleted(Boolean isUserDeleted)
A flag indicating whether or not the label has been deleted.
isUserDeleted
- the value to setpublic LogAnalyticsLabel build()
public LogAnalyticsLabel.Builder copy(LogAnalyticsLabel model)
Copyright © 2016–2024. All rights reserved.