AggregationType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. selfhelp. models. AggregationType
- com.
- com.
public final class AggregationType
extends ExpandableStringEnum<AggregationType>
Allowed values are Sum, Avg, Count, Min, Max. Default is Sum.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Aggregation |
AVG
Static value Avg for Aggregation |
|
static final
Aggregation |
COUNT
Static value Count for Aggregation |
|
static final
Aggregation |
MAX
Static value Max for Aggregation |
|
static final
Aggregation |
MIN
Static value Min for Aggregation |
|
static final
Aggregation |
SUM
Static value Sum for Aggregation |
Constructor Summary
| Constructor | Description |
|---|---|
| AggregationType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Aggregation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Aggregation |
fromString(String name)
Creates or finds a Aggregation |
|
static
Collection<Aggregation |
values()
Gets known Aggregation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AVG
public static final AggregationType AVG
Static value Avg for AggregationType.
COUNT
public static final AggregationType COUNT
Static value Count for AggregationType.
MAX
public static final AggregationType MAX
Static value Max for AggregationType.
MIN
public static final AggregationType MIN
Static value Min for AggregationType.
SUM
public static final AggregationType SUM
Static value Sum for AggregationType.
Constructor Details
AggregationType
@Deprecated
public AggregationType()
Deprecated
Creates a new instance of AggregationType value.
Method Details
fromString
public static AggregationType fromString(String name)
Creates or finds a AggregationType from its string representation.
Parameters:
Returns:
values
public static Collection<AggregationType> values()
Gets known AggregationType values.
Returns: