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