Package com.oracle.bmc.datasafe.model
Class TargetAlertPolicyAssociation.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.TargetAlertPolicyAssociation.Builder
 
- 
- Enclosing class:
- TargetAlertPolicyAssociation
 
 public static class TargetAlertPolicyAssociation.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetAlertPolicyAssociationbuild()TargetAlertPolicyAssociation.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the policy.TargetAlertPolicyAssociation.Buildercopy(TargetAlertPolicyAssociation model)TargetAlertPolicyAssociation.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TargetAlertPolicyAssociation.Builderdescription(String description)Describes the target-alert policy association.TargetAlertPolicyAssociation.BuilderdisplayName(String displayName)The display name of the target-alert policy association.TargetAlertPolicyAssociation.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.TargetAlertPolicyAssociation.Builderid(String id)The OCID of the target-alert policy association.TargetAlertPolicyAssociation.BuilderisEnabled(Boolean isEnabled)Indicates if the target-alert policy association is enabled or disabled by user.TargetAlertPolicyAssociation.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the target-alert policy association.TargetAlertPolicyAssociation.BuilderlifecycleState(AlertPolicyLifecycleState lifecycleState)The current state of the target-alert policy association.TargetAlertPolicyAssociation.BuilderpolicyId(String policyId)The OCID of the alert policy.TargetAlertPolicyAssociation.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TargetAlertPolicyAssociation.BuildertargetId(String targetId)The OCID of the target on which alert policy is to be applied.TargetAlertPolicyAssociation.BuildertimeCreated(Date timeCreated)Creation date and time of the alert policy, in the format defined by RFC3339.TargetAlertPolicyAssociation.BuildertimeUpdated(Date timeUpdated)Last date and time the alert policy was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic TargetAlertPolicyAssociation.Builder id(String id) The OCID of the target-alert policy association.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TargetAlertPolicyAssociation.Builder displayName(String displayName) The display name of the target-alert policy association.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TargetAlertPolicyAssociation.Builder description(String description) Describes the target-alert policy association.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
policyIdpublic TargetAlertPolicyAssociation.Builder policyId(String policyId) The OCID of the alert policy.- Parameters:
- policyId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic TargetAlertPolicyAssociation.Builder targetId(String targetId) The OCID of the target on which alert policy is to be applied.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
isEnabledpublic TargetAlertPolicyAssociation.Builder isEnabled(Boolean isEnabled) Indicates if the target-alert policy association is enabled or disabled by user.- Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic TargetAlertPolicyAssociation.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic TargetAlertPolicyAssociation.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 TargetAlertPolicyAssociation.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 TargetAlertPolicyAssociation.Builder lifecycleState(AlertPolicyLifecycleState lifecycleState) The current state of the target-alert policy association.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic TargetAlertPolicyAssociation.Builder lifecycleDetails(String lifecycleDetails) Details about the current state of the target-alert policy association.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic TargetAlertPolicyAssociation.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 TargetAlertPolicyAssociation.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 TargetAlertPolicyAssociation.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 TargetAlertPolicyAssociation build() 
 - 
copypublic TargetAlertPolicyAssociation.Builder copy(TargetAlertPolicyAssociation model) 
 
- 
 
-