public static class LogAnalyticsObjectCollectionRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public LogAnalyticsObjectCollectionRuleSummary.Builder id(String id)
The OCID of this rule.
id
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder name(String name)
A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.
name
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder description(String description)
A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified. Avoid entering confidential information.
description
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment to which this rule belongs.
compartmentId
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder osNamespace(String osNamespace)
Object Storage namespace.
osNamespace
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder osBucketName(String osBucketName)
Name of the Object Storage bucket.
osBucketName
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder collectionType(ObjectCollectionRuleCollectionTypes collectionType)
The type of log collection.
collectionType
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder lifecycleState(ObjectCollectionRuleLifecycleStates lifecycleState)
The current state of the rule.
lifecycleState
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder lifecycleDetails(String lifecycleDetails)
A detailed status of the life cycle state.
lifecycleDetails
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder timeCreated(Date timeCreated)
The time when this rule was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder timeUpdated(Date timeUpdated)
The time when this rule was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder isEnabled(Boolean isEnabled)
Whether or not this rule is currently enabled.
isEnabled
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.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.
objectNameFilters
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.Builder logType(LogTypes logType)
Type of files/objects in this object collection rule.
logType
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.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"}}
definedTags
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary.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"}
freeformTags
- the value to setpublic LogAnalyticsObjectCollectionRuleSummary build()
public LogAnalyticsObjectCollectionRuleSummary.Builder copy(LogAnalyticsObjectCollectionRuleSummary model)
Copyright © 2016–2024. All rights reserved.