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