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 Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
policyId
public CreateTargetAlertPolicyAssociationDetails.Builder policyId(String policyId)
The OCID of the alert policy.- Parameters:
policyId
- the value to set- Returns:
- this builder
-
targetId
public CreateTargetAlertPolicyAssociationDetails.Builder targetId(String targetId)
The OCID of the target.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
displayName
public CreateTargetAlertPolicyAssociationDetails.Builder displayName(String displayName)
The display name of the target-alert policy association.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateTargetAlertPolicyAssociationDetails.Builder description(String description)
Describes the target-alert policy association.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
isEnabled
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
build
public CreateTargetAlertPolicyAssociationDetails build()
-
copy
public CreateTargetAlertPolicyAssociationDetails.Builder copy(CreateTargetAlertPolicyAssociationDetails model)
-
-