public static class LogAnalyticsSourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public LogAnalyticsSourceSummary.Builder labelConditions(List<LogAnalyticsSourceLabelCondition> labelConditions)
The label alert conditions.
labelConditions
- the value to setpublic LogAnalyticsSourceSummary.Builder associationCount(Integer associationCount)
The association count.
associationCount
- the value to setpublic LogAnalyticsSourceSummary.Builder associationEntity(List<LogAnalyticsAssociation> associationEntity)
The association entity.
associationEntity
- the value to setpublic LogAnalyticsSourceSummary.Builder dataFilterDefinitions(List<LogAnalyticsSourceDataFilter> dataFilterDefinitions)
The data filter definition.
dataFilterDefinitions
- the value to setpublic LogAnalyticsSourceSummary.Builder databaseCredential(String databaseCredential)
The database credential.
databaseCredential
- the value to setpublic LogAnalyticsSourceSummary.Builder extendedFieldDefinitions(List<LogAnalyticsSourceExtendedFieldDefinition> extendedFieldDefinitions)
The extended field definition.
extendedFieldDefinitions
- the value to setpublic LogAnalyticsSourceSummary.Builder isForCloud(Boolean isForCloud)
A flag indicating whether or not this is a cloud source.
isForCloud
- the value to setpublic LogAnalyticsSourceSummary.Builder labels(List<LogAnalyticsLabelView> labels)
The labels associated with this source.
labels
- the value to setpublic LogAnalyticsSourceSummary.Builder metricDefinitions(List<LogAnalyticsMetric> metricDefinitions)
The metric definitions.
metricDefinitions
- the value to setpublic LogAnalyticsSourceSummary.Builder metrics(List<LogAnalyticsSourceMetric> metrics)
The metric source map.
metrics
- the value to setpublic LogAnalyticsSourceSummary.Builder oobParsers(List<LogAnalyticsParser> oobParsers)
The built in source parser.
oobParsers
- the value to setpublic LogAnalyticsSourceSummary.Builder parameters(List<LogAnalyticsParameter> parameters)
The parameter.
parameters
- the value to setpublic LogAnalyticsSourceSummary.Builder patternCount(Integer patternCount)
The pattern count.
patternCount
- the value to setpublic LogAnalyticsSourceSummary.Builder patterns(List<LogAnalyticsSourcePattern> patterns)
The source patterns.
patterns
- the value to setpublic LogAnalyticsSourceSummary.Builder description(String description)
The source description.
description
- the value to setpublic LogAnalyticsSourceSummary.Builder displayName(String displayName)
The source display name.
displayName
- the value to setpublic LogAnalyticsSourceSummary.Builder editVersion(Long editVersion)
The source edit version.
editVersion
- the value to setpublic LogAnalyticsSourceSummary.Builder functions(List<LogAnalyticsSourceFunction> functions)
The source functions.
functions
- the value to setpublic LogAnalyticsSourceSummary.Builder sourceId(Long sourceId)
The source unique identifier.
sourceId
- the value to setpublic LogAnalyticsSourceSummary.Builder name(String name)
The source internal name.
name
- the value to setpublic LogAnalyticsSourceSummary.Builder isSecureContent(Boolean isSecureContent)
A flag indicating whether or not the source content is secure.
isSecureContent
- the value to setpublic LogAnalyticsSourceSummary.Builder isSystem(Boolean isSystem)
The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
isSystem
- the value to setpublic LogAnalyticsSourceSummary.Builder parsers(List<LogAnalyticsParser> parsers)
The list of parsers associated with this source.
parsers
- the value to setpublic LogAnalyticsSourceSummary.Builder isAutoAssociationEnabled(Boolean isAutoAssociationEnabled)
A flag indicating whether or not the source is marked for auto-association.
isAutoAssociationEnabled
- the value to setpublic LogAnalyticsSourceSummary.Builder isAutoAssociationOverride(Boolean isAutoAssociationOverride)
A flag indicating whether or not the auto-association state should be overriden.
isAutoAssociationOverride
- the value to setpublic LogAnalyticsSourceSummary.Builder ruleId(Long ruleId)
The rule unique identifier.
ruleId
- the value to setpublic LogAnalyticsSourceSummary.Builder typeName(String typeName)
The source type internal name.
typeName
- the value to setpublic LogAnalyticsSourceSummary.Builder typeDisplayName(String typeDisplayName)
The source type name.
typeDisplayName
- the value to setpublic LogAnalyticsSourceSummary.Builder warningConfig(Long warningConfig)
The source warning configuration.
warningConfig
- the value to setpublic LogAnalyticsSourceSummary.Builder metadataFields(List<LogAnalyticsSourceMetadataField> metadataFields)
The source metadata fields.
metadataFields
- the value to setpublic LogAnalyticsSourceSummary.Builder labelDefinitions(List<LogAnalyticsLabelDefinition> labelDefinitions)
The label definitions.
labelDefinitions
- the value to setpublic LogAnalyticsSourceSummary.Builder entityTypes(List<LogAnalyticsSourceEntityType> entityTypes)
The entity types.
entityTypes
- the value to setpublic LogAnalyticsSourceSummary.Builder isTimezoneOverride(Boolean isTimezoneOverride)
A flag indicating whether or not the source has a time zone override.
isTimezoneOverride
- the value to setpublic LogAnalyticsSourceSummary.Builder userParsers(List<LogAnalyticsParser> userParsers)
An array of custom parsers.
userParsers
- the value to setpublic LogAnalyticsSourceSummary.Builder timeUpdated(Date timeUpdated)
The last updated date.
timeUpdated
- the value to setpublic LogAnalyticsSourceSummary.Builder endpoints(List<LogAnalyticsEndpoint> endpoints)
An array of REST API endpoints for log collection.
endpoints
- the value to setpublic LogAnalyticsSourceSummary.Builder sourceProperties(List<LogAnalyticsProperty> sourceProperties)
A list of source properties.
sourceProperties
- the value to setpublic LogAnalyticsSourceSummary build()
public LogAnalyticsSourceSummary.Builder copy(LogAnalyticsSourceSummary model)
Copyright © 2016–2024. All rights reserved.