Class CreateAlertRuleDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.budget.model.CreateAlertRuleDetails.Builder
 
- 
- Enclosing class:
- CreateAlertRuleDetails
 
 public static class CreateAlertRuleDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAlertRuleDetailsbuild()CreateAlertRuleDetails.Buildercopy(CreateAlertRuleDetails model)CreateAlertRuleDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateAlertRuleDetails.Builderdescription(String description)The description of the alert rule.CreateAlertRuleDetails.BuilderdisplayName(String displayName)The name of the alert rule.CreateAlertRuleDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateAlertRuleDetails.Buildermessage(String message)The message to be sent to the recipients when the alert rule is triggered.CreateAlertRuleDetails.Builderrecipients(String recipients)The audience that receives the alert when it triggers.CreateAlertRuleDetails.Builderthreshold(BigDecimal threshold)The threshold for triggering the alert, expressed as a whole number or decimal value.CreateAlertRuleDetails.BuilderthresholdType(ThresholdType thresholdType)The type of threshold.CreateAlertRuleDetails.Buildertype(AlertType type)The type of the alert.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateAlertRuleDetails.Builder displayName(String displayName) The name of the alert rule.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateAlertRuleDetails.Builder description(String description) The description of the alert rule.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
typepublic CreateAlertRuleDetails.Builder type(AlertType type) The type of the alert.Valid values are ACTUAL (the alert triggers based on actual usage), or FORECAST (the alert triggers based on predicted usage). - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
thresholdpublic CreateAlertRuleDetails.Builder threshold(BigDecimal threshold) The threshold for triggering the alert, expressed as a whole number or decimal value.If the thresholdType is ABSOLUTE, the threshold can have at most 12 digits before the decimal point, and up to two digits after the decimal point. If the thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to two digits after the decimal point. - Parameters:
- threshold- the value to set
- Returns:
- this builder
 
 - 
thresholdTypepublic CreateAlertRuleDetails.Builder thresholdType(ThresholdType thresholdType) The type of threshold.- Parameters:
- thresholdType- the value to set
- Returns:
- this builder
 
 - 
recipientspublic CreateAlertRuleDetails.Builder recipients(String recipients) The audience that receives the alert when it triggers.An empty string is interpreted as null. - Parameters:
- recipients- the value to set
- Returns:
- this builder
 
 - 
messagepublic CreateAlertRuleDetails.Builder message(String message) The message to be sent to the recipients when the alert rule is triggered.- Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateAlertRuleDetails.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 CreateAlertRuleDetails.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 CreateAlertRuleDetails build() 
 - 
copypublic CreateAlertRuleDetails.Builder copy(CreateAlertRuleDetails model) 
 
- 
 
-