Package com.oracle.bmc.datasafe.model
Class AlertPolicyRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.AlertPolicyRule.Builder
 
- 
- Enclosing class:
- AlertPolicyRule
 
 public static class AlertPolicyRule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertPolicyRulebuild()AlertPolicyRule.Buildercopy(AlertPolicyRule model)AlertPolicyRule.Builderdescription(String description)Describes the alert policy rule.AlertPolicyRule.BuilderdisplayName(String displayName)The display name of the alert policy rule.AlertPolicyRule.Builderexpression(String expression)The conditional expression of the alert policy rule which evaluates to boolean value.AlertPolicyRule.Builderkey(String key)The unique key of the alert policy rule.AlertPolicyRule.BuilderlifecycleState(AlertPolicyRuleLifecycleState lifecycleState)The current state of the alert policy rule.AlertPolicyRule.BuildertimeCreated(Date timeCreated)Creation date and time of the alert policy rule, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
keypublic AlertPolicyRule.Builder key(String key) The unique key of the alert policy rule.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AlertPolicyRule.Builder description(String description) Describes the alert policy rule.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
expressionpublic AlertPolicyRule.Builder expression(String expression) The conditional expression of the alert policy rule which evaluates to boolean value.- Parameters:
- expression- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AlertPolicyRule.Builder lifecycleState(AlertPolicyRuleLifecycleState lifecycleState) The current state of the alert policy rule.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AlertPolicyRule.Builder displayName(String displayName) The display name of the alert policy rule.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AlertPolicyRule.Builder timeCreated(Date timeCreated) Creation date and time of the alert policy rule, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
buildpublic AlertPolicyRule build() 
 - 
copypublic AlertPolicyRule.Builder copy(AlertPolicyRule model) 
 
- 
 
-