All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.servicelinker.models.ValidationResultStatus Maven / Gradle / Ivy

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

package com.azure.resourcemanager.servicelinker.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The result of validation.
 */
public final class ValidationResultStatus extends ExpandableStringEnum {
    /**
     * Static value success for ValidationResultStatus.
     */
    public static final ValidationResultStatus SUCCESS = fromString("success");

    /**
     * Static value failure for ValidationResultStatus.
     */
    public static final ValidationResultStatus FAILURE = fromString("failure");

    /**
     * Static value warning for ValidationResultStatus.
     */
    public static final ValidationResultStatus WARNING = fromString("warning");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy