ProtocolSettings Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ProtocolSettings
- com.
Implements
public final class ProtocolSettings
implements JsonSerializable<ProtocolSettings>
Protocol settings for file service.
Constructor Summary
Constructor | Description |
---|---|
ProtocolSettings() |
Creates an instance of Protocol |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Protocol |
fromJson(JsonReader jsonReader)
Reads an instance of Protocol |
Smb |
smb()
Get the smb property: Setting for SMB protocol. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Protocol |
withSmb(SmbSetting smb)
Set the smb property: Setting for SMB protocol. |
Methods inherited from java.lang.Object
Constructor Details
ProtocolSettings
public ProtocolSettings()
Creates an instance of ProtocolSettings class.
Method Details
fromJson
public static ProtocolSettings fromJson(JsonReader jsonReader)
Reads an instance of ProtocolSettings from the JsonReader.
Parameters:
Returns:
Throws:
smb
public SmbSetting smb()
Get the smb property: Setting for SMB protocol.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSmb
public ProtocolSettings withSmb(SmbSetting smb)
Set the smb property: Setting for SMB protocol.
Parameters:
Returns:
Applies to
Azure SDK for Java