Package com.oracle.bmc.datasafe.model
Class AlertSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.AlertSummary.Builder
 
- 
- Enclosing class:
- AlertSummary
 
 public static class AlertSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertSummary.BuilderalertPolicyRuleKey(String alertPolicyRuleKey)The key of the rule of alert policy that triggered alert.AlertSummary.BuilderalertPolicyRuleName(String alertPolicyRuleName)The display name of the rule of alert policy that triggered alert.AlertSummary.BuilderalertType(AlertType alertType)Type of the alert.AlertSummarybuild()AlertSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the alert.AlertSummary.Buildercopy(AlertSummary model)AlertSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AlertSummary.Builderdescription(String description)The details of the alert.AlertSummary.BuilderdisplayName(String displayName)The display name of the alert.AlertSummary.BuilderfeatureDetails(Map<String,Map<String,Object>> featureDetails)Map that contains maps of values.AlertSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AlertSummary.Builderid(String id)The OCID of the alert.AlertSummary.BuilderlifecycleState(AlertLifecycleState lifecycleState)The current state of the alert.AlertSummary.Builderoperation(String operation)The operation that triggered alert.AlertSummary.BuilderoperationStatus(AlertSummary.OperationStatus operationStatus)The result of the operation (event) that triggered alert.AlertSummary.BuilderoperationTime(Date operationTime)Creation date and time of the operation that triggered alert, in the format defined by RFC3339.AlertSummary.BuilderpolicyId(String policyId)The OCID of the policy that triggered alert.AlertSummary.Builderseverity(AlertSeverity severity)Severity level of the alert.AlertSummary.Builderstatus(AlertStatus status)The status of the alert.AlertSummary.BuildertargetIds(List<String> targetIds)Array of OCIDs of the target database.AlertSummary.BuildertargetNames(List<String> targetNames)Array of names of the target database.AlertSummary.BuildertimeCreated(Date timeCreated)Creation date and time of the alert, in the format defined by RFC3339.AlertSummary.BuildertimeUpdated(Date timeUpdated)Last date and time the alert was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic AlertSummary.Builder id(String id) The OCID of the alert.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
statuspublic AlertSummary.Builder status(AlertStatus status) The status of the alert.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AlertSummary.Builder displayName(String displayName) The display name of the alert.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AlertSummary.Builder description(String description) The details of the alert.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
severitypublic AlertSummary.Builder severity(AlertSeverity severity) Severity level of the alert.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
operationTimepublic AlertSummary.Builder operationTime(Date operationTime) Creation date and time of the operation that triggered alert, in the format defined by RFC3339.- Parameters:
- operationTime- the value to set
- Returns:
- this builder
 
 - 
operationpublic AlertSummary.Builder operation(String operation) The operation that triggered alert.- Parameters:
- operation- the value to set
- Returns:
- this builder
 
 - 
operationStatuspublic AlertSummary.Builder operationStatus(AlertSummary.OperationStatus operationStatus) The result of the operation (event) that triggered alert.- Parameters:
- operationStatus- the value to set
- Returns:
- this builder
 
 - 
targetIdspublic AlertSummary.Builder targetIds(List<String> targetIds) Array of OCIDs of the target database.- Parameters:
- targetIds- the value to set
- Returns:
- this builder
 
 - 
targetNamespublic AlertSummary.Builder targetNames(List<String> targetNames) Array of names of the target database.- Parameters:
- targetNames- the value to set
- Returns:
- this builder
 
 - 
policyIdpublic AlertSummary.Builder policyId(String policyId) The OCID of the policy that triggered alert.- Parameters:
- policyId- the value to set
- Returns:
- this builder
 
 - 
alertTypepublic AlertSummary.Builder alertType(AlertType alertType) Type of the alert.Indicates the Data Safe feature triggering the alert. - Parameters:
- alertType- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AlertSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the alert.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AlertSummary.Builder timeCreated(Date timeCreated) Creation date and time of the alert, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AlertSummary.Builder timeUpdated(Date timeUpdated) Last date and time the alert was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AlertSummary.Builder lifecycleState(AlertLifecycleState lifecycleState) The current state of the alert.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
alertPolicyRuleKeypublic AlertSummary.Builder alertPolicyRuleKey(String alertPolicyRuleKey) The key of the rule of alert policy that triggered alert.- Parameters:
- alertPolicyRuleKey- the value to set
- Returns:
- this builder
 
 - 
alertPolicyRuleNamepublic AlertSummary.Builder alertPolicyRuleName(String alertPolicyRuleName) The display name of the rule of alert policy that triggered alert.- Parameters:
- alertPolicyRuleName- the value to set
- Returns:
- this builder
 
 - 
featureDetailspublic AlertSummary.Builder featureDetails(Map<String,Map<String,Object>> featureDetails) Map that contains maps of values.Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- featureDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AlertSummary build() 
 - 
copypublic AlertSummary.Builder copy(AlertSummary model) 
 
- 
 
-