Class Dimension
java.lang.Object
com.azure.resourcemanager.monitor.models.Dimension
Dimension splitting and filtering definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Name of the dimension.operator()Get the operator property: Operator for dimension values.voidvalidate()Validates the instance.values()Get the values property: List of dimension values.Set the name property: Name of the dimension.withOperator(DimensionOperator operator) Set the operator property: Operator for dimension values.withValues(List<String> values) Set the values property: List of dimension values.
-
Constructor Details
-
Dimension
public Dimension()Creates an instance of Dimension class.
-
-
Method Details
-
name
Get the name property: Name of the dimension.- Returns:
- the name value.
-
withName
Set the name property: Name of the dimension.- Parameters:
name- the name value to set.- Returns:
- the Dimension object itself.
-
operator
Get the operator property: Operator for dimension values.- Returns:
- the operator value.
-
withOperator
Set the operator property: Operator for dimension values.- Parameters:
operator- the operator value to set.- Returns:
- the Dimension object itself.
-
values
Get the values property: List of dimension values.- Returns:
- the values value.
-
withValues
Set the values property: List of dimension values.- Parameters:
values- the values value to set.- Returns:
- the Dimension object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-