Package com.oracle.bmc.datasafe.model
Class AlertPolicySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.AlertPolicySummary.Builder
 
- 
- Enclosing class:
- AlertPolicySummary
 
 public static class AlertPolicySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertPolicySummary.BuilderalertPolicyType(AlertPolicyType alertPolicyType)Indicates the Data Safe feature that the alert policy belongs to.AlertPolicySummarybuild()AlertPolicySummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the alert policy.AlertPolicySummary.Buildercopy(AlertPolicySummary model)AlertPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AlertPolicySummary.Builderdescription(String description)The details of the alert policy.AlertPolicySummary.BuilderdisplayName(String displayName)The display name of the alert policy.AlertPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AlertPolicySummary.Builderid(String id)The OCID of the alert policy.AlertPolicySummary.BuilderisUserDefined(Boolean isUserDefined)Indicates if the alert policy is user-defined (true) or pre-defined (false).AlertPolicySummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the alert policy.AlertPolicySummary.BuilderlifecycleState(AlertPolicyLifecycleState lifecycleState)The current state of the alert policy.AlertPolicySummary.Builderseverity(AlertSeverity severity)Severity level of the alert raised by this policy.AlertPolicySummary.BuildertimeCreated(Date timeCreated)Creation date and time of the alert policy, in the format defined by RFC3339.AlertPolicySummary.BuildertimeUpdated(Date timeUpdated)Last date and time the alert policy was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic AlertPolicySummary.Builder id(String id) The OCID of the alert policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AlertPolicySummary.Builder displayName(String displayName) The display name of the alert policy.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AlertPolicySummary.Builder description(String description) The details of the alert policy.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
alertPolicyTypepublic AlertPolicySummary.Builder alertPolicyType(AlertPolicyType alertPolicyType) Indicates the Data Safe feature that the alert policy belongs to.- Parameters:
- alertPolicyType- the value to set
- Returns:
- this builder
 
 - 
isUserDefinedpublic AlertPolicySummary.Builder isUserDefined(Boolean isUserDefined) Indicates if the alert policy is user-defined (true) or pre-defined (false).- Parameters:
- isUserDefined- the value to set
- Returns:
- this builder
 
 - 
severitypublic AlertPolicySummary.Builder severity(AlertSeverity severity) Severity level of the alert raised by this policy.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AlertPolicySummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the alert policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AlertPolicySummary.Builder timeCreated(Date timeCreated) Creation date and time of the alert policy, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AlertPolicySummary.Builder timeUpdated(Date timeUpdated) Last date and time the alert policy was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AlertPolicySummary.Builder lifecycleState(AlertPolicyLifecycleState lifecycleState) The current state of the alert policy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic AlertPolicySummary.Builder lifecycleDetails(String lifecycleDetails) Details about the current state of the alert policy.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic AlertPolicySummary.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 AlertPolicySummary.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 AlertPolicySummary build() 
 - 
copypublic AlertPolicySummary.Builder copy(AlertPolicySummary model) 
 
- 
 
-