SmbSetting Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. SmbSetting
- com.
Implements
public final class SmbSetting
implements JsonSerializable<SmbSetting>
Setting for SMB protocol.
Constructor Summary
Constructor | Description |
---|---|
SmbSetting() |
Creates an instance of Smb |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authenticationMethods()
Get the authentication |
String |
channelEncryption()
Get the channel |
static
Smb |
fromJson(JsonReader jsonReader)
Reads an instance of Smb |
String |
kerberosTicketEncryption()
Get the kerberos |
Multichannel |
multichannel()
Get the multichannel property: Multichannel setting. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
versions()
Get the versions property: SMB protocol versions supported by server. |
Smb |
withAuthenticationMethods(String authenticationMethods)
Set the authentication |
Smb |
withChannelEncryption(String channelEncryption)
Set the channel |
Smb |
withKerberosTicketEncryption(String kerberosTicketEncryption)
Set the kerberos |
Smb |
withMultichannel(Multichannel multichannel)
Set the multichannel property: Multichannel setting. |
Smb |
withVersions(String versions)
Set the versions property: SMB protocol versions supported by server. |
Methods inherited from java.lang.Object
Constructor Details
SmbSetting
public SmbSetting()
Creates an instance of SmbSetting class.
Method Details
authenticationMethods
public String authenticationMethods()
Get the authenticationMethods property: SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
Returns:
channelEncryption
public String channelEncryption()
Get the channelEncryption property: SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'.
Returns:
fromJson
public static SmbSetting fromJson(JsonReader jsonReader)
Reads an instance of SmbSetting from the JsonReader.
Parameters:
Returns:
Throws:
kerberosTicketEncryption
public String kerberosTicketEncryption()
Get the kerberosTicketEncryption property: Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'.
Returns:
multichannel
public Multichannel multichannel()
Get the multichannel property: Multichannel setting. Applies to Premium FileStorage only.
Returns:
toJson
validate
public void validate()
Validates the instance.
versions
public String versions()
Get the versions property: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
Returns:
withAuthenticationMethods
public SmbSetting withAuthenticationMethods(String authenticationMethods)
Set the authenticationMethods property: SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
Parameters:
Returns:
withChannelEncryption
public SmbSetting withChannelEncryption(String channelEncryption)
Set the channelEncryption property: SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'.
Parameters:
Returns:
withKerberosTicketEncryption
public SmbSetting withKerberosTicketEncryption(String kerberosTicketEncryption)
Set the kerberosTicketEncryption property: Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'.
Parameters:
Returns:
withMultichannel
public SmbSetting withMultichannel(Multichannel multichannel)
Set the multichannel property: Multichannel setting. Applies to Premium FileStorage only.
Parameters:
Returns:
withVersions
public SmbSetting withVersions(String versions)
Set the versions property: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
Parameters:
Returns:
Applies to
Azure SDK for Java