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