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.batchai; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for UsageUnit.
/** * Defines values for UsageUnit. */
public final class UsageUnit extends ExpandableStringEnum<UsageUnit> {
Static value Count for UsageUnit.
/** Static value Count for UsageUnit. */
public static final UsageUnit COUNT = fromString("Count");
Creates or finds a UsageUnit from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding UsageUnit
/** * Creates or finds a UsageUnit from its string representation. * @param name a name to look for * @return the corresponding UsageUnit */
@JsonCreator public static UsageUnit fromString(String name) { return fromString(name, UsageUnit.class); }
Returns:known UsageUnit values
/** * @return known UsageUnit values */
public static Collection<UsageUnit> values() { return values(UsageUnit.class); } }