// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.resourcemover.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Gets or sets the target availability zone. */
public final class TargetAvailabilityZone extends ExpandableStringEnum<TargetAvailabilityZone> {
    /** Static value 1 for TargetAvailabilityZone. */
    public static final TargetAvailabilityZone ONE = fromString("1");

    /** Static value 2 for TargetAvailabilityZone. */
    public static final TargetAvailabilityZone TWO = fromString("2");

    /** Static value 3 for TargetAvailabilityZone. */
    public static final TargetAvailabilityZone THREE = fromString("3");

    /** Static value NA for TargetAvailabilityZone. */
    public static final TargetAvailabilityZone NA = fromString("NA");

    /**
     * Creates a new instance of TargetAvailabilityZone value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public TargetAvailabilityZone() {
    }

    /**
     * Creates or finds a TargetAvailabilityZone from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding TargetAvailabilityZone.
     */
    @JsonCreator
    public static TargetAvailabilityZone fromString(String name) {
        return fromString(name, TargetAvailabilityZone.class);
    }

    /**
     * Gets known TargetAvailabilityZone values.
     *
     * @return known TargetAvailabilityZone values.
     */
    public static Collection<TargetAvailabilityZone> values() {
        return values(TargetAvailabilityZone.class);
    }
}
