Package com.oracle.bmc.datasafe.model
Class Alert.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.Alert.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Alert.BuilderalertPolicyRuleKey(String alertPolicyRuleKey)The key of the rule of alert policy that triggered alert.Alert.BuilderalertPolicyRuleName(String alertPolicyRuleName)The display name of the rule of alert policy that triggered alert.Alert.BuilderalertType(AlertType alertType)Type of the alert.Alertbuild()Alert.Buildercomment(String comment)A comment for the alert.Alert.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the alert.Alert.Buildercopy(Alert model)Alert.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Alert.Builderdescription(String description)The description of the alert.Alert.BuilderdisplayName(String displayName)The display name of the alert.Alert.BuilderfeatureDetails(Map<String,Map<String,Object>> featureDetails)Map that contains maps of values.Alert.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Alert.Builderid(String id)The OCID of the alert.Alert.BuilderlifecycleState(AlertLifecycleState lifecycleState)The current state of the alert.Alert.Builderoperation(String operation)The operation (event) that triggered alert.Alert.BuilderoperationStatus(Alert.OperationStatus operationStatus)The result of the operation (event) that triggered alert.Alert.BuilderoperationTime(Date operationTime)Creation date and time of the operation that triggered alert, in the format defined by RFC3339.Alert.BuilderpolicyId(String policyId)The OCID of the policy that triggered alert.Alert.BuilderresourceName(String resourceName)The resource endpoint that triggered the alert.Alert.Builderseverity(AlertSeverity severity)Severity level of the alert.Alert.Builderstatus(AlertStatus status)The status of the alert.Alert.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Alert.BuildertargetIds(List<String> targetIds)Array of OCIDs of the target database which are associated with the alert.Alert.BuildertargetNames(List<String> targetNames)Array of names of the target database.Alert.BuildertimeCreated(Date timeCreated)Creation date and time of the alert, in the format defined by RFC3339.Alert.BuildertimeUpdated(Date timeUpdated)Last date and time the alert was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic Alert.Builder id(String id) The OCID of the alert.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
statuspublic Alert.Builder status(AlertStatus status) The status of the alert.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
severitypublic Alert.Builder severity(AlertSeverity severity) Severity level of the alert.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Alert.Builder displayName(String displayName) The display name of the alert.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Alert.Builder description(String description) The description of the alert.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
operationTimepublic Alert.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 Alert.Builder operation(String operation) The operation (event) that triggered alert.- Parameters:
- operation- the value to set
- Returns:
- this builder
 
 - 
operationStatuspublic Alert.Builder operationStatus(Alert.OperationStatus operationStatus) The result of the operation (event) that triggered alert.- Parameters:
- operationStatus- the value to set
- Returns:
- this builder
 
 - 
targetIdspublic Alert.Builder targetIds(List<String> targetIds) Array of OCIDs of the target database which are associated with the alert.- Parameters:
- targetIds- the value to set
- Returns:
- this builder
 
 - 
targetNamespublic Alert.Builder targetNames(List<String> targetNames) Array of names of the target database.- Parameters:
- targetNames- the value to set
- Returns:
- this builder
 
 - 
policyIdpublic Alert.Builder policyId(String policyId) The OCID of the policy that triggered alert.- Parameters:
- policyId- the value to set
- Returns:
- this builder
 
 - 
alertTypepublic Alert.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
 
 - 
resourceNamepublic Alert.Builder resourceName(String resourceName) The resource endpoint that triggered the alert.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
featureDetailspublic Alert.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
 
 - 
commentpublic Alert.Builder comment(String comment) A comment for the alert.Entered by the user. - Parameters:
- comment- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Alert.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the alert.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Alert.Builder lifecycleState(AlertLifecycleState lifecycleState) The current state of the alert.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Alert.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 Alert.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
 
 - 
alertPolicyRuleKeypublic Alert.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 Alert.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
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Alert build() 
 - 
copypublic Alert.Builder copy(Alert model) 
 
- 
 
-