Package com.oracle.bmc.budget.model
Class CostAnomalyMonitor.Builder
- java.lang.Object
-
- com.oracle.bmc.budget.model.CostAnomalyMonitor.Builder
-
- Enclosing class:
- CostAnomalyMonitor
public static class CostAnomalyMonitor.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CostAnomalyMonitor.Builder id(String id)
The OCID of the Cost Anomaly Monitor.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public CostAnomalyMonitor.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public CostAnomalyMonitor.Builder name(String name)
The name of the cost anomaly monitor.Avoid entering confidential information.
- Parameters:
name- the value to set- Returns:
- this builder
-
type
public CostAnomalyMonitor.Builder type(MonitorType type)
Type of cost monitor- Parameters:
type- the value to set- Returns:
- this builder
-
description
public CostAnomalyMonitor.Builder description(String description)
The description of the budget.- Parameters:
description- the value to set- Returns:
- this builder
-
lifecycleState
public CostAnomalyMonitor.Builder lifecycleState(CostAnomalyMonitor.LifecycleState lifecycleState)
The current state of the cost monitor.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CostAnomalyMonitor.Builder lifecycleDetails(String lifecycleDetails)
The current state details of the cost monitor.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
targetResourceFilter
public CostAnomalyMonitor.Builder targetResourceFilter(TargetResourceFilter targetResourceFilter)
-
costAlertSubscriptionMap
public CostAnomalyMonitor.Builder costAlertSubscriptionMap(CostAlertSubscriptionMap costAlertSubscriptionMap)
-
timeCreated
public CostAnomalyMonitor.Builder timeCreated(Date timeCreated)
The time that the cost monitor was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CostAnomalyMonitor.Builder timeUpdated(Date timeUpdated)
The time that the cost monitor was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
definedTags
public CostAnomalyMonitor.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 CostAnomalyMonitor.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 CostAnomalyMonitor.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 CostAnomalyMonitor build()
-
copy
public CostAnomalyMonitor.Builder copy(CostAnomalyMonitor model)
-
-