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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShareSmbSettings
fromXml
(com.azure.xml.XmlReader xmlReader) Reads an instance of ShareSmbSettings from the XmlReader.static ShareSmbSettings
Reads an instance of ShareSmbSettings from the XmlReader.Get the multichannel property: Settings for SMB Multichannel.setMultichannel
(SmbMultichannel multichannel) Set the multichannel property: Settings for SMB Multichannel.com.azure.xml.XmlWriter
toXml
(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
ShareSmbSettings
public ShareSmbSettings()Creates an instance of ShareSmbSettings class.
-
-
Method Details
-
getMultichannel
Get the multichannel property: Settings for SMB Multichannel.- Returns:
- the multichannel value.
-
toXml
- Specified by:
toXml
in interfacecom.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 interfacecom.azure.xml.XmlSerializable<ShareSmbSettings>
- Throws:
XMLStreamException
-
fromXml
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.
-