Package com.oracle.bmc.budget.model
Class CostAlertSubscription.Builder
- java.lang.Object
-
- com.oracle.bmc.budget.model.CostAlertSubscription.Builder
-
- Enclosing class:
- CostAlertSubscription
public static class CostAlertSubscription.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CostAlertSubscriptionbuild()CostAlertSubscription.Builderchannels(String channels)The notification channels string.CostAlertSubscription.BuildercompartmentId(String compartmentId)The OCID of the compartment which hold the cost alert subscription resource.CostAlertSubscription.Buildercopy(CostAlertSubscription model)CostAlertSubscription.BuildercostAnomalyMonitors(Object costAnomalyMonitors)List of monitor identifiersCostAlertSubscription.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CostAlertSubscription.Builderdescription(String description)The description of the cost alert subscription.CostAlertSubscription.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CostAlertSubscription.Builderid(String id)The OCID of the Cost Alert Subscription.CostAlertSubscription.BuilderlifecycleState(CostAlertSubscription.LifecycleState lifecycleState)The current state of the cost alert subscription.CostAlertSubscription.Buildername(String name)The name of the cost alert subscription.CostAlertSubscription.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CostAlertSubscription.BuildertimeCreated(Date timeCreated)The time that the cost alert subscription was created.CostAlertSubscription.BuildertimeUpdated(Date timeUpdated)The time that the cost alert subscription was updated.
-
-
-
Method Detail
-
id
public CostAlertSubscription.Builder id(String id)
The OCID of the Cost Alert Subscription.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public CostAlertSubscription.Builder compartmentId(String compartmentId)
The OCID of the compartment which hold the cost alert subscription resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public CostAlertSubscription.Builder name(String name)
The name of the cost alert subscription.Avoid entering confidential information.
- Parameters:
name- the value to set- Returns:
- this builder
-
lifecycleState
public CostAlertSubscription.Builder lifecycleState(CostAlertSubscription.LifecycleState lifecycleState)
The current state of the cost alert subscription.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
channels
public CostAlertSubscription.Builder channels(String channels)
The notification channels string.- Parameters:
channels- the value to set- Returns:
- this builder
-
description
public CostAlertSubscription.Builder description(String description)
The description of the cost alert subscription.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public CostAlertSubscription.Builder timeCreated(Date timeCreated)
The time that the cost alert subscription was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CostAlertSubscription.Builder timeUpdated(Date timeUpdated)
The time that the cost alert subscription was updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
costAnomalyMonitors
public CostAlertSubscription.Builder costAnomalyMonitors(Object costAnomalyMonitors)
List of monitor identifiers- Parameters:
costAnomalyMonitors- the value to set- Returns:
- this builder
-
definedTags
public CostAlertSubscription.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
-
freeformTags
public CostAlertSubscription.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
-
systemTags
public CostAlertSubscription.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public CostAlertSubscription build()
-
copy
public CostAlertSubscription.Builder copy(CostAlertSubscription model)
-
-