Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Rule |
build() |
Rule.Builder |
compartmentId(String compartmentId)
Compartment Identifier [OCID]
(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
Rule.Builder |
copy(Rule model) |
Rule.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Rule.Builder |
description(String description)
Description for this resource.
|
Rule.Builder |
displayName(String displayName)
The ingest time rule or scheduled task display name.
|
Rule.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Rule.Builder |
id(String id)
The log analytics entity OCID.
|
Rule.Builder |
isEnabled(Boolean isEnabled)
A flag indicating whether or not the ingest time rule or scheduled task is enabled.
|
Rule.Builder |
kind(RuleKind kind)
The kind of rule - either an ingest time rule or a scheduled task.
|
Rule.Builder |
lastExecutionStatus(Rule.LastExecutionStatus lastExecutionStatus)
The most recent task execution status.
|
Rule.Builder |
lifecycleState(ConfigLifecycleState lifecycleState)
The current state of the logging analytics rule.
|
Rule.Builder |
targetService(String targetService)
The target service.
|
Rule.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.
|
Rule.Builder |
timeLastExecuted(Date timeLastExecuted)
The date and time the scheduled task last executed, in the format defined by RFC3339.
|
Rule.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.
|
public Rule.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.
id
- the value to setpublic Rule.Builder description(String description)
Description for this resource.
description
- the value to setpublic Rule.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
compartmentId
- the value to setpublic Rule.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic Rule.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic Rule.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 Rule.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 Rule.Builder lifecycleState(ConfigLifecycleState lifecycleState)
The current state of the logging analytics rule.
lifecycleState
- the value to setpublic Rule.Builder kind(RuleKind kind)
The kind of rule - either an ingest time rule or a scheduled task.
kind
- the value to setpublic Rule.Builder targetService(String targetService)
The target service.
targetService
- the value to setpublic Rule.Builder displayName(String displayName)
The ingest time rule or scheduled task display name.
displayName
- the value to setpublic Rule.Builder isEnabled(Boolean isEnabled)
A flag indicating whether or not the ingest time rule or scheduled task is enabled.
isEnabled
- the value to setpublic Rule.Builder lastExecutionStatus(Rule.LastExecutionStatus lastExecutionStatus)
The most recent task execution status.
lastExecutionStatus
- the value to setpublic Rule.Builder timeLastExecuted(Date timeLastExecuted)
The date and time the scheduled task last executed, in the format defined by RFC3339.
timeLastExecuted
- the value to setpublic Rule build()
public Rule.Builder copy(Rule model)
Copyright © 2016–2024. All rights reserved.