Class IngestTimeRule.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.IngestTimeRule.Builder
-
- Enclosing class:
- IngestTimeRule
public static class IngestTimeRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestTimeRule.Builderactions(List<IngestTimeRuleAction> actions)The action(s) to be performed if the ingest time rule condition(s) are satisfied.IngestTimeRulebuild()IngestTimeRule.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).IngestTimeRule.Builderconditions(IngestTimeRuleCondition conditions)IngestTimeRule.Buildercopy(IngestTimeRule model)IngestTimeRule.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.IngestTimeRule.Builderdescription(String description)Description for this resource.IngestTimeRule.BuilderdisplayName(String displayName)The ingest time rule display name.IngestTimeRule.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.IngestTimeRule.Builderid(String id)The log analytics entity OCID.IngestTimeRule.BuilderisEnabled(Boolean isEnabled)A flag indicating whether or not the ingest time rule is enabled.IngestTimeRule.BuilderlifecycleState(ConfigLifecycleState lifecycleState)The current state of the ingest time rule.IngestTimeRule.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the format defined by RFC3339.IngestTimeRule.BuildertimeUpdated(Date timeUpdated)The date and time the resource was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public IngestTimeRule.Builder id(String id)
The log analytics entity OCID.This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public IngestTimeRule.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public IngestTimeRule.Builder description(String description)
Description for this resource.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public IngestTimeRule.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
-
definedTags
public IngestTimeRule.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
-
timeCreated
public IngestTimeRule.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public IngestTimeRule.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public IngestTimeRule.Builder lifecycleState(ConfigLifecycleState lifecycleState)
The current state of the ingest time rule.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
displayName
public IngestTimeRule.Builder displayName(String displayName)
The ingest time rule display name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
isEnabled
public IngestTimeRule.Builder isEnabled(Boolean isEnabled)
A flag indicating whether or not the ingest time rule is enabled.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
conditions
public IngestTimeRule.Builder conditions(IngestTimeRuleCondition conditions)
-
actions
public IngestTimeRule.Builder actions(List<IngestTimeRuleAction> actions)
The action(s) to be performed if the ingest time rule condition(s) are satisfied.- Parameters:
actions- the value to set- Returns:
- this builder
-
build
public IngestTimeRule build()
-
copy
public IngestTimeRule.Builder copy(IngestTimeRule model)
-
-