// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.storage.file.share.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/** Protocol settings. */
@JacksonXmlRootElement(localName = "ProtocolSettings")
@Fluent
public final class ShareProtocolSettings {
    /*
     * Settings for SMB protocol.
     */
    @JsonProperty(value = "SMB")
    private ShareSmbSettings smb;

    /** Creates an instance of ShareProtocolSettings class. */
    public ShareProtocolSettings() {}

    /**
     * Get the smb property: Settings for SMB protocol.
     *
     * @return the smb value.
     */
    public ShareSmbSettings getSmb() {
        return this.smb;
    }

    /**
     * Set the smb property: Settings for SMB protocol.
     *
     * @param smb the smb value to set.
     * @return the ShareProtocolSettings object itself.
     */
    public ShareProtocolSettings setSmb(ShareSmbSettings smb) {
        this.smb = smb;
        return this;
    }
}
