Class ShareSmbSettings

java.lang.Object
com.azure.storage.file.share.models.ShareSmbSettings
All Implemented Interfaces:
com.azure.xml.XmlSerializable<ShareSmbSettings>

public final class ShareSmbSettings extends Object implements com.azure.xml.XmlSerializable<ShareSmbSettings>
Settings for SMB protocol.
  • Constructor Details

    • ShareSmbSettings

      public ShareSmbSettings()
      Creates an instance of ShareSmbSettings class.
  • Method Details

    • getMultichannel

      public SmbMultichannel getMultichannel()
      Get the multichannel property: Settings for SMB Multichannel.
      Returns:
      the multichannel value.
    • setMultichannel

      public ShareSmbSettings setMultichannel(SmbMultichannel multichannel)
      Set the multichannel property: Settings for SMB Multichannel.
      Parameters:
      multichannel - the multichannel value to set.
      Returns:
      the ShareSmbSettings object itself.
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<ShareSmbSettings>
      Throws:
      XMLStreamException
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<ShareSmbSettings>
      Throws:
      XMLStreamException
    • fromXml

      public static ShareSmbSettings fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      Reads an instance of ShareSmbSettings from the XmlReader.
      Parameters:
      xmlReader - The XmlReader being read.
      Returns:
      An instance of ShareSmbSettings if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.
      Throws:
      XMLStreamException - If an error occurs while reading the ShareSmbSettings.
    • fromXml

      public static ShareSmbSettings fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException
      Reads an instance of ShareSmbSettings from the XmlReader.
      Parameters:
      xmlReader - The XmlReader being read.
      rootElementName - Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.
      Returns:
      An instance of ShareSmbSettings if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.
      Throws:
      XMLStreamException - If an error occurs while reading the ShareSmbSettings.