public static class CreateTargetAlertPolicyAssociationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateTargetAlertPolicyAssociationDetails.Builder policyId(String policyId)
The OCID of the alert policy.
policyId
- the value to setpublic CreateTargetAlertPolicyAssociationDetails.Builder targetId(String targetId)
The OCID of the target.
targetId
- the value to setpublic CreateTargetAlertPolicyAssociationDetails.Builder displayName(String displayName)
The display name of the target-alert policy association.
displayName
- the value to setpublic CreateTargetAlertPolicyAssociationDetails.Builder description(String description)
Describes the target-alert policy association.
description
- the value to setpublic CreateTargetAlertPolicyAssociationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment where the target-alert policy association is created.
compartmentId
- the value to setpublic CreateTargetAlertPolicyAssociationDetails.Builder isEnabled(Boolean isEnabled)
Indicates if the target-alert policy association is enabled or disabled by user.
isEnabled
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateTargetAlertPolicyAssociationDetails build()
public CreateTargetAlertPolicyAssociationDetails.Builder copy(CreateTargetAlertPolicyAssociationDetails model)
Copyright © 2016–2024. All rights reserved.