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

com.azure.resourcemanager.automation.models.RunbookState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2022-02-22.

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

package com.azure.resourcemanager.automation.models;

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

/**
 * Gets or sets the state of the runbook.
 */
public final class RunbookState extends ExpandableStringEnum {
    /**
     * Static value New for RunbookState.
     */
    public static final RunbookState NEW = fromString("New");

    /**
     * Static value Edit for RunbookState.
     */
    public static final RunbookState EDIT = fromString("Edit");

    /**
     * Static value Published for RunbookState.
     */
    public static final RunbookState PUBLISHED = fromString("Published");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy