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 JobPriority.
/** * Defines values for JobPriority. */
public final class JobPriority extends ExpandableStringEnum<JobPriority> {
Static value low for JobPriority.
/** Static value low for JobPriority. */
public static final JobPriority LOW = fromString("low");
Static value normal for JobPriority.
/** Static value normal for JobPriority. */
public static final JobPriority NORMAL = fromString("normal");
Static value high for JobPriority.
/** Static value high for JobPriority. */
public static final JobPriority HIGH = fromString("high");
Creates or finds a JobPriority from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding JobPriority
/** * Creates or finds a JobPriority from its string representation. * @param name a name to look for * @return the corresponding JobPriority */
@JsonCreator public static JobPriority fromString(String name) { return fromString(name, JobPriority.class); }
Returns:known JobPriority values
/** * @return known JobPriority values */
public static Collection<JobPriority> values() { return values(JobPriority.class); } }