Package com.oracle.bmc.budget.model
Class CostAlertSubscriptionMap.Builder
- java.lang.Object
-
- com.oracle.bmc.budget.model.CostAlertSubscriptionMap.Builder
-
- Enclosing class:
- CostAlertSubscriptionMap
public static class CostAlertSubscriptionMap.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CostAlertSubscriptionMapbuild()CostAlertSubscriptionMap.Buildercopy(CostAlertSubscriptionMap model)CostAlertSubscriptionMap.BuildercostAlertSubscriptionId(String costAlertSubscriptionId)The costAlertSubscription ocid which the cost monitor alert maps to.CostAlertSubscriptionMap.Builderoperator(CostAlertSubscriptionMap.Operator operator)The filter operator.CostAlertSubscriptionMap.BuilderthresholdAbsoluteValue(Integer thresholdAbsoluteValue)The absolute threshold value.CostAlertSubscriptionMap.BuilderthresholdRelativePercent(Integer thresholdRelativePercent)The relative percentage threshold value.
-
-
-
Method Detail
-
operator
public CostAlertSubscriptionMap.Builder operator(CostAlertSubscriptionMap.Operator operator)
The filter operator.Example: ‘AND’, ‘OR’.
- Parameters:
operator- the value to set- Returns:
- this builder
-
thresholdAbsoluteValue
public CostAlertSubscriptionMap.Builder thresholdAbsoluteValue(Integer thresholdAbsoluteValue)
The absolute threshold value.- Parameters:
thresholdAbsoluteValue- the value to set- Returns:
- this builder
-
thresholdRelativePercent
public CostAlertSubscriptionMap.Builder thresholdRelativePercent(Integer thresholdRelativePercent)
The relative percentage threshold value.- Parameters:
thresholdRelativePercent- the value to set- Returns:
- this builder
-
costAlertSubscriptionId
public CostAlertSubscriptionMap.Builder costAlertSubscriptionId(String costAlertSubscriptionId)
The costAlertSubscription ocid which the cost monitor alert maps to.- Parameters:
costAlertSubscriptionId- the value to set- Returns:
- this builder
-
build
public CostAlertSubscriptionMap build()
-
copy
public CostAlertSubscriptionMap.Builder copy(CostAlertSubscriptionMap model)
-
-