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.Builder
actions(List<IngestTimeRuleAction> actions)
The action(s) to be performed if the ingest time rule condition(s) are satisfied.IngestTimeRule
build()
IngestTimeRule.Builder
compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).IngestTimeRule.Builder
conditions(IngestTimeRuleCondition conditions)
IngestTimeRule.Builder
copy(IngestTimeRule model)
IngestTimeRule.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.IngestTimeRule.Builder
description(String description)
Description for this resource.IngestTimeRule.Builder
displayName(String displayName)
The ingest time rule display name.IngestTimeRule.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.IngestTimeRule.Builder
id(String id)
The log analytics entity OCID.IngestTimeRule.Builder
isEnabled(Boolean isEnabled)
A flag indicating whether or not the ingest time rule is enabled.IngestTimeRule.Builder
lifecycleState(ConfigLifecycleState lifecycleState)
The current state of the ingest time rule.IngestTimeRule.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.IngestTimeRule.Builder
timeUpdated(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)
-
-