Package com.oracle.bmc.budget.model
Class CreateCostAnomalyMonitorDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.budget.model.CreateCostAnomalyMonitorDetails.Builder
-
- Enclosing class:
- CreateCostAnomalyMonitorDetails
public static class CreateCostAnomalyMonitorDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateCostAnomalyMonitorDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public CreateCostAnomalyMonitorDetails.Builder name(String name)
The name of the cost anomaly monitor.Avoid entering confidential information.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public CreateCostAnomalyMonitorDetails.Builder description(String description)
The description of the cost anomaly monitor.- Parameters:
description- the value to set- Returns:
- this builder
-
targetResourceFilter
public CreateCostAnomalyMonitorDetails.Builder targetResourceFilter(TargetResourceFilter targetResourceFilter)
-
costAlertSubscriptionMap
public CreateCostAnomalyMonitorDetails.Builder costAlertSubscriptionMap(CostAlertSubscriptionMap costAlertSubscriptionMap)
-
definedTags
public CreateCostAnomalyMonitorDetails.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 CreateCostAnomalyMonitorDetails.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
-
build
public CreateCostAnomalyMonitorDetails build()
-
copy
public CreateCostAnomalyMonitorDetails.Builder copy(CreateCostAnomalyMonitorDetails model)
-
-