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

package com.azure.resourcemanager.network.models;

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

/** Status code of the application gateway custom error. */
public final class ApplicationGatewayCustomErrorStatusCode
    extends ExpandableStringEnum<ApplicationGatewayCustomErrorStatusCode> {
    /** Static value HttpStatus400 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS400 = fromString("HttpStatus400");

    /** Static value HttpStatus403 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS403 = fromString("HttpStatus403");

    /** Static value HttpStatus404 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS404 = fromString("HttpStatus404");

    /** Static value HttpStatus405 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS405 = fromString("HttpStatus405");

    /** Static value HttpStatus408 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS408 = fromString("HttpStatus408");

    /** Static value HttpStatus499 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS499 = fromString("HttpStatus499");

    /** Static value HttpStatus500 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS500 = fromString("HttpStatus500");

    /** Static value HttpStatus502 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS502 = fromString("HttpStatus502");

    /** Static value HttpStatus503 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS503 = fromString("HttpStatus503");

    /** Static value HttpStatus504 for ApplicationGatewayCustomErrorStatusCode. */
    public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS504 = fromString("HttpStatus504");

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

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

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