Package com.oracle.bmc.budget.model
Class AlertRuleSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.budget.model.AlertRuleSummary.Builder
 
- 
- Enclosing class:
- AlertRuleSummary
 
 public static class AlertRuleSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertRuleSummary.BuilderbudgetId(String budgetId)The OCID of the budget.AlertRuleSummarybuild()AlertRuleSummary.Buildercopy(AlertRuleSummary model)AlertRuleSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AlertRuleSummary.Builderdescription(String description)The description of the alert rule.AlertRuleSummary.BuilderdisplayName(String displayName)The name of the alert rule.AlertRuleSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AlertRuleSummary.Builderid(String id)The OCID of the alert rule.AlertRuleSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the alert rule.AlertRuleSummary.Buildermessage(String message)The custom message that will be sent when the alert is triggered.AlertRuleSummary.Builderrecipients(String recipients)The audience that receives the alert when it triggers.AlertRuleSummary.Builderthreshold(BigDecimal threshold)The threshold for triggering the alert.AlertRuleSummary.BuilderthresholdType(ThresholdType thresholdType)The type of threshold.AlertRuleSummary.BuildertimeCreated(Date timeCreated)The time when the budget was created.AlertRuleSummary.BuildertimeUpdated(Date timeUpdated)The time when the budget was updated.AlertRuleSummary.Buildertype(AlertType type)ACTUAL means the alert triggers based on actual usage.AlertRuleSummary.Builderversion(Integer version)The version of the alert rule.
 
- 
- 
- 
Method Detail- 
idpublic AlertRuleSummary.Builder id(String id) The OCID of the alert rule.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
budgetIdpublic AlertRuleSummary.Builder budgetId(String budgetId) The OCID of the budget.- Parameters:
- budgetId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AlertRuleSummary.Builder displayName(String displayName) The name of the alert rule.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typepublic AlertRuleSummary.Builder type(AlertType type) ACTUAL means the alert triggers based on actual usage.FORECAST means the alert triggers based on predicted usage. - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
thresholdpublic AlertRuleSummary.Builder threshold(BigDecimal threshold) The threshold for triggering the alert.If the thresholdType is PERCENTAGE, the maximum value is 10000. - Parameters:
- threshold- the value to set
- Returns:
- this builder
 
 - 
thresholdTypepublic AlertRuleSummary.Builder thresholdType(ThresholdType thresholdType) The type of threshold.- Parameters:
- thresholdType- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AlertRuleSummary.Builder lifecycleState(LifecycleState lifecycleState) The current state of the alert rule.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
messagepublic AlertRuleSummary.Builder message(String message) The custom message that will be sent when the alert is triggered.- Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AlertRuleSummary.Builder description(String description) The description of the alert rule.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
versionpublic AlertRuleSummary.Builder version(Integer version) The version of the alert rule.Starts from 1 and increments by 1. - Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
recipientspublic AlertRuleSummary.Builder recipients(String recipients) The audience that receives the alert when it triggers.- Parameters:
- recipients- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AlertRuleSummary.Builder timeCreated(Date timeCreated) The time when the budget was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AlertRuleSummary.Builder timeUpdated(Date timeUpdated) The time when the budget was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic AlertRuleSummary.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 AlertRuleSummary.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 AlertRuleSummary build() 
 - 
copypublic AlertRuleSummary.Builder copy(AlertRuleSummary model) 
 
- 
 
-