Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for PrimaryAggregationType.
/**
* Defines values for PrimaryAggregationType.
*/
public final class PrimaryAggregationType extends ExpandableStringEnum<PrimaryAggregationType> {
Static value None for PrimaryAggregationType. /** Static value None for PrimaryAggregationType. */
public static final PrimaryAggregationType NONE = fromString("None");
Static value Average for PrimaryAggregationType. /** Static value Average for PrimaryAggregationType. */
public static final PrimaryAggregationType AVERAGE = fromString("Average");
Static value Count for PrimaryAggregationType. /** Static value Count for PrimaryAggregationType. */
public static final PrimaryAggregationType COUNT = fromString("Count");
Static value Minimum for PrimaryAggregationType. /** Static value Minimum for PrimaryAggregationType. */
public static final PrimaryAggregationType MINIMUM = fromString("Minimum");
Static value Maximum for PrimaryAggregationType. /** Static value Maximum for PrimaryAggregationType. */
public static final PrimaryAggregationType MAXIMUM = fromString("Maximum");
Static value Total for PrimaryAggregationType. /** Static value Total for PrimaryAggregationType. */
public static final PrimaryAggregationType TOTAL = fromString("Total");
Creates or finds a PrimaryAggregationType from its string representation.
Params: - name – a name to look for
Returns: the corresponding PrimaryAggregationType
/**
* Creates or finds a PrimaryAggregationType from its string representation.
* @param name a name to look for
* @return the corresponding PrimaryAggregationType
*/
@JsonCreator
public static PrimaryAggregationType fromString(String name) {
return fromString(name, PrimaryAggregationType.class);
}
Returns: known PrimaryAggregationType values
/**
* @return known PrimaryAggregationType values
*/
public static Collection<PrimaryAggregationType> values() {
return values(PrimaryAggregationType.class);
}
}