public final class ScaleRuleMetricDimension extends Object
| Constructor and Description |
|---|
ScaleRuleMetricDimension() |
| Modifier and Type | Method and Description |
|---|---|
String |
dimensionName()
Get the dimensionName property: Name of the dimension.
|
ScaleRuleMetricDimensionOperationType |
operator()
Get the operator property: the dimension operator.
|
void |
validate()
Validates the instance.
|
List<String> |
values()
Get the values property: list of dimension values.
|
ScaleRuleMetricDimension |
withDimensionName(String dimensionName)
Set the dimensionName property: Name of the dimension.
|
ScaleRuleMetricDimension |
withOperator(ScaleRuleMetricDimensionOperationType operator)
Set the operator property: the dimension operator.
|
ScaleRuleMetricDimension |
withValues(List<String> values)
Set the values property: list of dimension values.
|
public String dimensionName()
public ScaleRuleMetricDimension withDimensionName(String dimensionName)
dimensionName - the dimensionName value to set.public ScaleRuleMetricDimensionOperationType operator()
public ScaleRuleMetricDimension withOperator(ScaleRuleMetricDimensionOperationType operator)
operator - the operator value to set.public List<String> values()
public ScaleRuleMetricDimension withValues(List<String> values)
values - the values value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.