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

com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerSelectorState Maven / Gradle / Ivy

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.messaging.eventgrid.systemevents;

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

/**
 * Router Job Worker Selector State.
 */
public final class AcsRouterWorkerSelectorState extends ExpandableStringEnum {
    /**
     * Router Job Worker Selector is Active.
     */
    public static final AcsRouterWorkerSelectorState ACTIVE = fromString("active");

    /**
     * Router Job Worker Selector has Expire.
     */
    public static final AcsRouterWorkerSelectorState EXPIRED = fromString("expired");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy