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

com.azure.resourcemanager.netapp.models.ChownMode Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2024-07-01-preview.

There is a newer version: 1.6.0-beta.1
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.netapp.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change
 * the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.
 */
public final class ChownMode extends ExpandableStringEnum {
    /**
     * Static value Restricted for ChownMode.
     */
    public static final ChownMode RESTRICTED = fromString("Restricted");

    /**
     * Static value Unrestricted for ChownMode.
     */
    public static final ChownMode UNRESTRICTED = fromString("Unrestricted");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy