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

com.azure.resourcemanager.databoxedge.models.DataPolicy 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.databoxedge.models;

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

/**
 * Data policy of the share.
 */
public final class DataPolicy extends ExpandableStringEnum {
    /**
     * Static value Cloud for DataPolicy.
     */
    public static final DataPolicy CLOUD = fromString("Cloud");

    /**
     * Static value Local for DataPolicy.
     */
    public static final DataPolicy LOCAL = fromString("Local");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy