public static class TargetAlertPolicyAssociationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetAlertPolicyAssociationSummary |
build() |
TargetAlertPolicyAssociationSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the target-alert policy association.
|
TargetAlertPolicyAssociationSummary.Builder |
copy(TargetAlertPolicyAssociationSummary model) |
TargetAlertPolicyAssociationSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TargetAlertPolicyAssociationSummary.Builder |
description(String description)
Describes the target-alert policy association.
|
TargetAlertPolicyAssociationSummary.Builder |
displayName(String displayName)
The display name of the target-alert policy association.
|
TargetAlertPolicyAssociationSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
TargetAlertPolicyAssociationSummary.Builder |
id(String id)
The OCID of the target-alert policy association.
|
TargetAlertPolicyAssociationSummary.Builder |
isEnabled(Boolean isEnabled)
Indicates if the target-alert policy association is enabled or disabled by user.
|
TargetAlertPolicyAssociationSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the target-alert policy association.
|
TargetAlertPolicyAssociationSummary.Builder |
lifecycleState(AlertPolicyLifecycleState lifecycleState)
The current state of the target-alert policy association.
|
TargetAlertPolicyAssociationSummary.Builder |
policyId(String policyId)
The OCID of the alert policy.
|
TargetAlertPolicyAssociationSummary.Builder |
targetId(String targetId)
The OCID of the target on which alert policy is to be applied.
|
TargetAlertPolicyAssociationSummary.Builder |
timeCreated(Date timeCreated)
Creation date and time of the target-alert policy association, in the format defined by
RFC3339.
|
TargetAlertPolicyAssociationSummary.Builder |
timeUpdated(Date timeUpdated)
Last date and time the target-alert policy association was updated, in the format defined
by RFC3339.
|
public TargetAlertPolicyAssociationSummary.Builder id(String id)
The OCID of the target-alert policy association.
id
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder displayName(String displayName)
The display name of the target-alert policy association.
displayName
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder description(String description)
Describes the target-alert policy association.
description
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder policyId(String policyId)
The OCID of the alert policy.
policyId
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder targetId(String targetId)
The OCID of the target on which alert policy is to be applied.
targetId
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder isEnabled(Boolean isEnabled)
Indicates if the target-alert policy association is enabled or disabled by user.
isEnabled
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the target-alert policy association.
compartmentId
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder timeCreated(Date timeCreated)
Creation date and time of the target-alert policy association, in the format defined by RFC3339.
timeCreated
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder timeUpdated(Date timeUpdated)
Last date and time the target-alert policy association was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder lifecycleState(AlertPolicyLifecycleState lifecycleState)
The current state of the target-alert policy association.
lifecycleState
- the value to setpublic TargetAlertPolicyAssociationSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the target-alert policy association.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic TargetAlertPolicyAssociationSummary build()
public TargetAlertPolicyAssociationSummary.Builder copy(TargetAlertPolicyAssociationSummary model)
Copyright © 2016–2024. All rights reserved.