Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Alert.Builder |
alertPolicyRuleKey(String alertPolicyRuleKey)
The key of the rule of alert policy that triggered alert.
|
Alert.Builder |
alertPolicyRuleName(String alertPolicyRuleName)
The display name of the rule of alert policy that triggered alert.
|
Alert.Builder |
alertType(AlertType alertType)
Type of the alert.
|
Alert |
build() |
Alert.Builder |
comment(String comment)
A comment for the alert.
|
Alert.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the alert.
|
Alert.Builder |
copy(Alert model) |
Alert.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Alert.Builder |
description(String description)
The description of the alert.
|
Alert.Builder |
displayName(String displayName)
The display name of the alert.
|
Alert.Builder |
featureDetails(Map<String,Map<String,Object>> featureDetails)
Map that contains maps of values.
|
Alert.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Alert.Builder |
id(String id)
The OCID of the alert.
|
Alert.Builder |
lifecycleState(AlertLifecycleState lifecycleState)
The current state of the alert.
|
Alert.Builder |
operation(String operation)
The operation (event) that triggered alert.
|
Alert.Builder |
operationStatus(Alert.OperationStatus operationStatus)
The result of the operation (event) that triggered alert.
|
Alert.Builder |
operationTime(Date operationTime)
Creation date and time of the operation that triggered alert, in the format defined by
RFC3339.
|
Alert.Builder |
policyId(String policyId)
The OCID of the policy that triggered alert.
|
Alert.Builder |
resourceName(String resourceName)
The resource endpoint that triggered the alert.
|
Alert.Builder |
severity(AlertSeverity severity)
Severity level of the alert.
|
Alert.Builder |
status(AlertStatus status)
The status of the alert.
|
Alert.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Alert.Builder |
targetIds(List<String> targetIds)
Array of OCIDs of the target database which are associated with the alert.
|
Alert.Builder |
targetNames(List<String> targetNames)
Array of names of the target database.
|
Alert.Builder |
timeCreated(Date timeCreated)
Creation date and time of the alert, in the format defined by
RFC3339.
|
Alert.Builder |
timeUpdated(Date timeUpdated)
Last date and time the alert was updated, in the format defined by
RFC3339.
|
public Alert.Builder id(String id)
The OCID of the alert.
id
- the value to setpublic Alert.Builder status(AlertStatus status)
The status of the alert.
status
- the value to setpublic Alert.Builder severity(AlertSeverity severity)
Severity level of the alert.
severity
- the value to setpublic Alert.Builder displayName(String displayName)
The display name of the alert.
displayName
- the value to setpublic Alert.Builder description(String description)
The description of the alert.
description
- the value to setpublic Alert.Builder operationTime(Date operationTime)
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
operationTime
- the value to setpublic Alert.Builder operation(String operation)
The operation (event) that triggered alert.
operation
- the value to setpublic Alert.Builder operationStatus(Alert.OperationStatus operationStatus)
The result of the operation (event) that triggered alert.
operationStatus
- the value to setpublic Alert.Builder targetIds(List<String> targetIds)
Array of OCIDs of the target database which are associated with the alert.
targetIds
- the value to setpublic Alert.Builder targetNames(List<String> targetNames)
Array of names of the target database.
targetNames
- the value to setpublic Alert.Builder policyId(String policyId)
The OCID of the policy that triggered alert.
policyId
- the value to setpublic Alert.Builder alertType(AlertType alertType)
Type of the alert. Indicates the Data Safe feature triggering the alert.
alertType
- the value to setpublic Alert.Builder resourceName(String resourceName)
The resource endpoint that triggered the alert.
resourceName
- the value to setpublic Alert.Builder featureDetails(Map<String,Map<String,Object>> featureDetails)
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
featureDetails
- the value to setpublic Alert.Builder comment(String comment)
A comment for the alert. Entered by the user.
comment
- the value to setpublic Alert.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the alert.
compartmentId
- the value to setpublic Alert.Builder lifecycleState(AlertLifecycleState lifecycleState)
The current state of the alert.
lifecycleState
- the value to setpublic Alert.Builder timeCreated(Date timeCreated)
Creation date and time of the alert, in the format defined by RFC3339.
timeCreated
- the value to setpublic Alert.Builder timeUpdated(Date timeUpdated)
Last date and time the alert was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic Alert.Builder alertPolicyRuleKey(String alertPolicyRuleKey)
The key of the rule of alert policy that triggered alert.
alertPolicyRuleKey
- the value to setpublic Alert.Builder alertPolicyRuleName(String alertPolicyRuleName)
The display name of the rule of alert policy that triggered alert.
alertPolicyRuleName
- the value to setpublic Alert.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic Alert.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Alert.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more
information, see Resource Tags. Example: {"orcl-cloud": {"free-tier-retained":
"true"}}
systemTags
- the value to setpublic Alert build()
public Alert.Builder copy(Alert model)
Copyright © 2016–2024. All rights reserved.