public static class AlertSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlertSummary.Builder |
alertPolicyRuleKey(String alertPolicyRuleKey)
The key of the rule of alert policy that triggered alert.
|
AlertSummary.Builder |
alertPolicyRuleName(String alertPolicyRuleName)
The display name of the rule of alert policy that triggered alert.
|
AlertSummary.Builder |
alertType(AlertType alertType)
Type of the alert.
|
AlertSummary |
build() |
AlertSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the alert.
|
AlertSummary.Builder |
copy(AlertSummary model) |
AlertSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AlertSummary.Builder |
description(String description)
The details of the alert.
|
AlertSummary.Builder |
displayName(String displayName)
The display name of the alert.
|
AlertSummary.Builder |
featureDetails(Map<String,Map<String,Object>> featureDetails)
Map that contains maps of values.
|
AlertSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AlertSummary.Builder |
id(String id)
The OCID of the alert.
|
AlertSummary.Builder |
lifecycleState(AlertLifecycleState lifecycleState)
The current state of the alert.
|
AlertSummary.Builder |
operation(String operation)
The operation that triggered alert.
|
AlertSummary.Builder |
operationStatus(AlertSummary.OperationStatus operationStatus)
The result of the operation (event) that triggered alert.
|
AlertSummary.Builder |
operationTime(Date operationTime)
Creation date and time of the operation that triggered alert, in the format defined by
RFC3339.
|
AlertSummary.Builder |
policyId(String policyId)
The OCID of the policy that triggered alert.
|
AlertSummary.Builder |
severity(AlertSeverity severity)
Severity level of the alert.
|
AlertSummary.Builder |
status(AlertStatus status)
The status of the alert.
|
AlertSummary.Builder |
targetIds(List<String> targetIds)
Array of OCIDs of the target database.
|
AlertSummary.Builder |
targetNames(List<String> targetNames)
Array of names of the target database.
|
AlertSummary.Builder |
timeCreated(Date timeCreated)
Creation date and time of the alert, in the format defined by
RFC3339.
|
AlertSummary.Builder |
timeUpdated(Date timeUpdated)
Last date and time the alert was updated, in the format defined by
RFC3339.
|
public AlertSummary.Builder id(String id)
The OCID of the alert.
id
- the value to setpublic AlertSummary.Builder status(AlertStatus status)
The status of the alert.
status
- the value to setpublic AlertSummary.Builder displayName(String displayName)
The display name of the alert.
displayName
- the value to setpublic AlertSummary.Builder description(String description)
The details of the alert.
description
- the value to setpublic AlertSummary.Builder severity(AlertSeverity severity)
Severity level of the alert.
severity
- the value to setpublic AlertSummary.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 AlertSummary.Builder operation(String operation)
The operation that triggered alert.
operation
- the value to setpublic AlertSummary.Builder operationStatus(AlertSummary.OperationStatus operationStatus)
The result of the operation (event) that triggered alert.
operationStatus
- the value to setpublic AlertSummary.Builder targetIds(List<String> targetIds)
Array of OCIDs of the target database.
targetIds
- the value to setpublic AlertSummary.Builder targetNames(List<String> targetNames)
Array of names of the target database.
targetNames
- the value to setpublic AlertSummary.Builder policyId(String policyId)
The OCID of the policy that triggered alert.
policyId
- the value to setpublic AlertSummary.Builder alertType(AlertType alertType)
Type of the alert. Indicates the Data Safe feature triggering the alert.
alertType
- the value to setpublic AlertSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the alert.
compartmentId
- the value to setpublic AlertSummary.Builder timeCreated(Date timeCreated)
Creation date and time of the alert, in the format defined by RFC3339.
timeCreated
- the value to setpublic AlertSummary.Builder timeUpdated(Date timeUpdated)
Last date and time the alert was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic AlertSummary.Builder lifecycleState(AlertLifecycleState lifecycleState)
The current state of the alert.
lifecycleState
- the value to setpublic AlertSummary.Builder alertPolicyRuleKey(String alertPolicyRuleKey)
The key of the rule of alert policy that triggered alert.
alertPolicyRuleKey
- the value to setpublic AlertSummary.Builder alertPolicyRuleName(String alertPolicyRuleName)
The display name of the rule of alert policy that triggered alert.
alertPolicyRuleName
- the value to setpublic AlertSummary.Builder featureDetails(Map<String,Map<String,Object>> featureDetails)
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
featureDetails
- the value to setpublic AlertSummary.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 AlertSummary.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 AlertSummary build()
public AlertSummary.Builder copy(AlertSummary model)
Copyright © 2016–2024. All rights reserved.