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

com.azure.resourcemanager.storage.models.EnabledProtocols 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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * The authentication protocol that is used for the file share. Can only be specified when creating a share.
 */
public final class EnabledProtocols extends ExpandableStringEnum {
    /**
     * Static value SMB for EnabledProtocols.
     */
    public static final EnabledProtocols SMB = fromString("SMB");

    /**
     * Static value NFS for EnabledProtocols.
     */
    public static final EnabledProtocols NFS = fromString("NFS");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy