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