public final class Dimension extends Object
| Constructor and Description |
|---|
Dimension() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: Name of the dimension.
|
Operator |
operator()
Get the operator property: Operator for dimension values.
|
void |
validate()
Validates the instance.
|
List<String> |
values()
Get the values property: List of dimension values.
|
Dimension |
withName(String name)
Set the name property: Name of the dimension.
|
Dimension |
withOperator(Operator operator)
Set the operator property: Operator for dimension values.
|
Dimension |
withValues(List<String> values)
Set the values property: List of dimension values.
|
public String name()
public Dimension withName(String name)
name - the name value to set.public Operator operator()
public Dimension withOperator(Operator operator)
operator - the operator value to set.public List<String> values()
public Dimension 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.