public static class UpsertLogAnalyticsSourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpsertLogAnalyticsSourceDetails.Builder labelConditions(List<LogAnalyticsSourceLabelCondition> labelConditions)
An array of source label conditions.
labelConditions
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder dataFilterDefinitions(List<LogAnalyticsSourceDataFilter> dataFilterDefinitions)
An array of data filter definitions.
dataFilterDefinitions
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder databaseCredential(String databaseCredential)
The database credential name.
databaseCredential
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder extendedFieldDefinitions(List<LogAnalyticsSourceExtendedFieldDefinition> extendedFieldDefinitions)
An array of extended field definitions.
extendedFieldDefinitions
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder isForCloud(Boolean isForCloud)
A flag indicating whether or not this is a cloud source.
isForCloud
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder labels(List<LogAnalyticsLabelView> labels)
An array of labels.
labels
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder metricDefinitions(List<LogAnalyticsMetric> metricDefinitions)
An array of metric definitions.
metricDefinitions
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder metrics(List<LogAnalyticsSourceMetric> metrics)
An array of metrics.
metrics
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder oobParsers(List<LogAnalyticsParser> oobParsers)
An array of built in source parsers.
oobParsers
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder parameters(List<LogAnalyticsParameter> parameters)
An array of parameters.
parameters
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder patterns(List<LogAnalyticsSourcePattern> patterns)
An array of patterns.
patterns
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder description(String description)
The source description.
description
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder displayName(String displayName)
The source display name.
displayName
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder editVersion(Long editVersion)
The source edit version.
editVersion
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder functions(List<LogAnalyticsSourceFunction> functions)
An array of source functions.
functions
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder sourceId(Long sourceId)
The source unique identifier.
sourceId
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder name(String name)
The source internal name.
name
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder isSecureContent(Boolean isSecureContent)
A flag indicating whether or not the source content is secure.
isSecureContent
- the value to setpublic UpsertLogAnalyticsSourceDetails.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 UpsertLogAnalyticsSourceDetails.Builder parsers(List<LogAnalyticsParser> parsers)
An array of parser.
parsers
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder ruleId(Long ruleId)
The rule unique identifier.
ruleId
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder typeName(String typeName)
The source type internal name.
typeName
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder warningConfig(Long warningConfig)
The source warning configuration.
warningConfig
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder metadataFields(List<LogAnalyticsSourceMetadataField> metadataFields)
An array of source metadata fields.
metadataFields
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder labelDefinitions(List<LogAnalyticsLabelDefinition> labelDefinitions)
An array of labels.
labelDefinitions
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder entityTypes(List<LogAnalyticsSourceEntityType> entityTypes)
An array of entity types.
entityTypes
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder isTimezoneOverride(Boolean isTimezoneOverride)
A flag indicating whether or not the source has a time zone override.
isTimezoneOverride
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder userParsers(List<LogAnalyticsParser> userParsers)
An array of custom parsers.
userParsers
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder categories(List<LogAnalyticsCategory> categories)
An array of categories to assign to the source. Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.
categories
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder endpoints(List<LogAnalyticsEndpoint> endpoints)
An array of REST API endpoints for log collection.
endpoints
- the value to setpublic UpsertLogAnalyticsSourceDetails.Builder sourceProperties(List<LogAnalyticsProperty> sourceProperties)
A list of source properties.
sourceProperties
- the value to setpublic UpsertLogAnalyticsSourceDetails build()
public UpsertLogAnalyticsSourceDetails.Builder copy(UpsertLogAnalyticsSourceDetails model)
Copyright © 2016–2024. All rights reserved.