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

com.azure.resourcemanager.storage.models.MigrationState Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show 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.storage.models;

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

/**
 * This property denotes the container level immutability to object level immutability migration state.
 */
public final class MigrationState extends ExpandableStringEnum {
    /**
     * Static value InProgress for MigrationState.
     */
    public static final MigrationState IN_PROGRESS = fromString("InProgress");

    /**
     * Static value Completed for MigrationState.
     */
    public static final MigrationState COMPLETED = fromString("Completed");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy