Package com.oracle.bmc.multicloud.model
Class MulticloudAlert.Builder
- java.lang.Object
-
- com.oracle.bmc.multicloud.model.MulticloudAlert.Builder
-
- Enclosing class:
- MulticloudAlert
public static class MulticloudAlert.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MulticloudAlert.BuilderadditionalParameters(Map<String,String> additionalParameters)Alert-specific contextual parameters.MulticloudAlert.BuilderalertId(String alertId)External or human-friendly alert identifier.MulticloudAlert.BuilderalertStatus(MulticloudAlert.AlertStatus alertStatus)Current acknowledgment status of the alert.MulticloudAlert.BuilderalertType(String alertType)Type/category of the alert (e.g.MulticloudAlertbuild()MulticloudAlert.BuildercompartmentId(String compartmentId)Root Compartment The OCID (TenantId) associated with the alert.MulticloudAlert.Buildercopy(MulticloudAlert model)MulticloudAlert.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MulticloudAlert.Builderdescription(String description)Description of the alert and its purpose.MulticloudAlert.BuilderdisplayName(String displayName)Human-readable name of the alert.MulticloudAlert.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MulticloudAlert.BuilderfunctionType(String functionType)Internal service or function type generating the alert (e.g.MulticloudAlert.Builderid(String id)The OCID of the multicloud alert.MulticloudAlert.BuilderlifecycleState(MulticloudAlert.LifecycleState lifecycleState)The current state of the Multicloud Network Alert.MulticloudAlert.BuilderresourceId(String resourceId)The OCID of the affected resource.MulticloudAlert.BuilderresourceType(String resourceType)Type of the affected resource (e.g.MulticloudAlert.Builderseverity(MulticloudAlert.Severity severity)Severity of the alert.MulticloudAlert.Buildersource(String source)Source subsystem that generated the alert.MulticloudAlert.BuildersourceRegion(String sourceRegion)OCI region where the alert originated (e.g.MulticloudAlert.BuildersubscriptionId(String subscriptionId)The OCID of the multicloud subscription.MulticloudAlert.BuildersubscriptionType(SubscriptionType subscriptionType)Oracle Cloud Infrastructure Subscription Type.MulticloudAlert.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MulticloudAlert.BuildertimeCreated(Date timeCreated)Timestamp when the alert was created.MulticloudAlert.BuildertimeUpdated(Date timeUpdated)Timestamp when the alert was last updated.
-
-
-
Method Detail
-
id
public MulticloudAlert.Builder id(String id)
The OCID of the multicloud alert.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public MulticloudAlert.Builder displayName(String displayName)
Human-readable name of the alert.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public MulticloudAlert.Builder description(String description)
Description of the alert and its purpose.- Parameters:
description- the value to set- Returns:
- this builder
-
alertType
public MulticloudAlert.Builder alertType(String alertType)
Type/category of the alert (e.g.IAM_POLICY_GAP, TAG_INCONSISTENCY).
- Parameters:
alertType- the value to set- Returns:
- this builder
-
severity
public MulticloudAlert.Builder severity(MulticloudAlert.Severity severity)
Severity of the alert.- Parameters:
severity- the value to set- Returns:
- this builder
-
subscriptionId
public MulticloudAlert.Builder subscriptionId(String subscriptionId)
The OCID of the multicloud subscription.- Parameters:
subscriptionId- the value to set- Returns:
- this builder
-
subscriptionType
public MulticloudAlert.Builder subscriptionType(SubscriptionType subscriptionType)
Oracle Cloud Infrastructure Subscription Type.- Parameters:
subscriptionType- the value to set- Returns:
- this builder
-
alertStatus
public MulticloudAlert.Builder alertStatus(MulticloudAlert.AlertStatus alertStatus)
Current acknowledgment status of the alert.- Parameters:
alertStatus- the value to set- Returns:
- this builder
-
timeCreated
public MulticloudAlert.Builder timeCreated(Date timeCreated)
Timestamp when the alert was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public MulticloudAlert.Builder timeUpdated(Date timeUpdated)
Timestamp when the alert was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
resourceId
public MulticloudAlert.Builder resourceId(String resourceId)
The OCID of the affected resource.- Parameters:
resourceId- the value to set- Returns:
- this builder
-
resourceType
public MulticloudAlert.Builder resourceType(String resourceType)
Type of the affected resource (e.g.ADBD).
- Parameters:
resourceType- the value to set- Returns:
- this builder
-
compartmentId
public MulticloudAlert.Builder compartmentId(String compartmentId)
Root Compartment The OCID (TenantId) associated with the alert.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
functionType
public MulticloudAlert.Builder functionType(String functionType)
Internal service or function type generating the alert (e.g.ORP, ODBG_NETWORK, BILLING, OBSERVABILITY).
- Parameters:
functionType- the value to set- Returns:
- this builder
-
source
public MulticloudAlert.Builder source(String source)
Source subsystem that generated the alert.(Azure Tag Validation)
- Parameters:
source- the value to set- Returns:
- this builder
-
alertId
public MulticloudAlert.Builder alertId(String alertId)
External or human-friendly alert identifier.- Parameters:
alertId- the value to set- Returns:
- this builder
-
lifecycleState
public MulticloudAlert.Builder lifecycleState(MulticloudAlert.LifecycleState lifecycleState)
The current state of the Multicloud Network Alert.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public MulticloudAlert.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 MulticloudAlert.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
-
systemTags
public MulticloudAlert.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
sourceRegion
public MulticloudAlert.Builder sourceRegion(String sourceRegion)
OCI region where the alert originated (e.g.us-phoenix-1)
- Parameters:
sourceRegion- the value to set- Returns:
- this builder
-
additionalParameters
public MulticloudAlert.Builder additionalParameters(Map<String,String> additionalParameters)
Alert-specific contextual parameters.- Parameters:
additionalParameters- the value to set- Returns:
- this builder
-
build
public MulticloudAlert build()
-
copy
public MulticloudAlert.Builder copy(MulticloudAlert model)
-
-