Class UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
-
- Enclosing class:
- UpdateLogAnalyticsObjectCollectionRuleDetails
public static class UpdateLogAnalyticsObjectCollectionRuleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateLogAnalyticsObjectCollectionRuleDetails
build()
UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
charEncoding(String charEncoding)
An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
copy(UpdateLogAnalyticsObjectCollectionRuleDetails model)
UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
description(String description)
A string that describes the details of the rule.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
entityId(String entityId)
Logging Analytics entity OCID.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
isEnabled(Boolean isEnabled)
Whether or not this rule is currently enabled.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
logGroupId(String logGroupId)
Logging Analytics Log group OCID to associate the processed logs with.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
logSet(String logSet)
The logSet to be associated with the processed logs.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
logSetExtRegex(String logSetExtRegex)
The regex to be applied against given logSetKey.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
logSetKey(LogSetKeyTypes logSetKey)
An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
logSourceName(String logSourceName)
Name of the Logging Analytics Source to use for the processing.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
objectNameFilters(List<String> objectNameFilters)
When the filters are provided, only the objects matching the filters are picked up for processing.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
overrides(Map<String,List<PropertyOverride>> overrides)
Use this to override some property values which are defined at bucket level to the scope of object.UpdateLogAnalyticsObjectCollectionRuleDetails.Builder
timezone(String timezone)
Timezone to be used when processing log entries whose timestamps do not include an explicit timezone.
-
-
-
Method Detail
-
description
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder description(String description)
A string that describes the details of the rule.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
logGroupId
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder logGroupId(String logGroupId)
Logging Analytics Log group OCID to associate the processed logs with.- Parameters:
logGroupId
- the value to set- Returns:
- this builder
-
logSourceName
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder logSourceName(String logSourceName)
Name of the Logging Analytics Source to use for the processing.- Parameters:
logSourceName
- the value to set- Returns:
- this builder
-
entityId
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder entityId(String entityId)
Logging Analytics entity OCID.Associates the processed logs with the given entity (optional).
- Parameters:
entityId
- the value to set- Returns:
- this builder
-
charEncoding
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder charEncoding(String charEncoding)
An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing.It is recommended to set this value as ISO_8859_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
- Parameters:
charEncoding
- the value to set- Returns:
- this builder
-
isEnabled
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder isEnabled(Boolean isEnabled)
Whether or not this rule is currently enabled.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
timezone
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder timezone(String timezone)
Timezone to be used when processing log entries whose timestamps do not include an explicit timezone.When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.
- Parameters:
timezone
- the value to set- Returns:
- this builder
-
logSet
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder logSet(String logSet)
The logSet to be associated with the processed logs.The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
- Parameters:
logSet
- the value to set- Returns:
- this builder
-
logSetKey
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder logSetKey(LogSetKeyTypes logSetKey)
An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex.Default value is OBJECT_PATH (e.g. /n/
/b/ /o/ ). - Parameters:
logSetKey
- the value to set- Returns:
- this builder
-
logSetExtRegex
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder logSetExtRegex(String logSetExtRegex)
The regex to be applied against given logSetKey.Regex has to be in string escaped format.
- Parameters:
logSetExtRegex
- the value to set- Returns:
- this builder
-
overrides
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder overrides(Map<String,List<PropertyOverride>> overrides)
Use this to override some property values which are defined at bucket level to the scope of object.Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are “contains”.
- Parameters:
overrides
- the value to set- Returns:
- this builder
-
objectNameFilters
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder objectNameFilters(List<String> objectNameFilters)
When the filters are provided, only the objects matching the filters are picked up for processing.The matchType supported is exact match and accommodates wildcard “*”. For more information on filters, see Event Filters.
- Parameters:
objectNameFilters
- the value to set- Returns:
- this builder
-
definedTags
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
build
public UpdateLogAnalyticsObjectCollectionRuleDetails build()
-
copy
public UpdateLogAnalyticsObjectCollectionRuleDetails.Builder copy(UpdateLogAnalyticsObjectCollectionRuleDetails model)
-
-