Package com.oracle.bmc.datasafe.model
Class CreateTargetAlertPolicyAssociationDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.CreateTargetAlertPolicyAssociationDetails.Builder
 
- 
- Enclosing class:
- CreateTargetAlertPolicyAssociationDetails
 
 public static class CreateTargetAlertPolicyAssociationDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
policyIdpublic CreateTargetAlertPolicyAssociationDetails.Builder policyId(String policyId) The OCID of the alert policy.- Parameters:
- policyId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic CreateTargetAlertPolicyAssociationDetails.Builder targetId(String targetId) The OCID of the target.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateTargetAlertPolicyAssociationDetails.Builder displayName(String displayName) The display name of the target-alert policy association.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateTargetAlertPolicyAssociationDetails.Builder description(String description) Describes the target-alert policy association.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateTargetAlertPolicyAssociationDetails.Builder compartmentId(String compartmentId) The OCID of the compartment where the target-alert policy association is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
isEnabledpublic CreateTargetAlertPolicyAssociationDetails.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
 
 - 
freeformTagspublic CreateTargetAlertPolicyAssociationDetails.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 CreateTargetAlertPolicyAssociationDetails.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 CreateTargetAlertPolicyAssociationDetails build() 
 - 
copypublic CreateTargetAlertPolicyAssociationDetails.Builder copy(CreateTargetAlertPolicyAssociationDetails model) 
 
- 
 
-