Class ProtocolSettings
java.lang.Object
com.azure.resourcemanager.storage.models.ProtocolSettings
Protocol settings for file service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsmb()Get the smb property: Setting for SMB protocol.voidvalidate()Validates the instance.withSmb(SmbSetting smb) Set the smb property: Setting for SMB protocol.
-
Constructor Details
-
ProtocolSettings
public ProtocolSettings()
-
-
Method Details
-
smb
Get the smb property: Setting for SMB protocol.- Returns:
- the smb value.
-
withSmb
Set the smb property: Setting for SMB protocol.- Parameters:
smb- the smb value to set.- Returns:
- the ProtocolSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-