BudgetComparisonExpression Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. BudgetComparisonExpression
- com.
public final class BudgetComparisonExpression
The comparison expression to be used in the budgets.
Constructor Summary
Constructor | Description | |
---|---|---|
BudgetComparisonExpression() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The name of the column to use in comparison. |
Budget |
operator()
Get the operator property: The operator to use for comparison. |
void |
validate()
Validates the instance. |
List<String> |
values()
Get the values property: Array of values to use for comparison. |
Budget |
withName(String name)
Set the name property: The name of the column to use in comparison. |
Budget |
withOperator(BudgetOperatorType operator)
Set the operator property: The operator to use for comparison. |
Budget |
withValues(List<String> values)
Set the values property: Array of values to use for comparison. |
Methods inherited from java.lang.Object
Constructor Details
BudgetComparisonExpression
public BudgetComparisonExpression()
Method Details
name
public String name()
Get the name property: The name of the column to use in comparison.
Returns:
operator
public BudgetOperatorType operator()
Get the operator property: The operator to use for comparison.
Returns:
validate
public void validate()
Validates the instance.
values
public List
Get the values property: Array of values to use for comparison.
Returns:
withName
public BudgetComparisonExpression withName(String name)
Set the name property: The name of the column to use in comparison.
Parameters:
Returns:
withOperator
public BudgetComparisonExpression withOperator(BudgetOperatorType operator)
Set the operator property: The operator to use for comparison.
Parameters:
Returns:
withValues
public BudgetComparisonExpression withValues(List
Set the values property: Array of values to use for comparison.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for