Class SmbSetting


  • public final class SmbSetting
    extends Object
    Setting for SMB protocol.
    • Constructor Detail

      • SmbSetting

        public SmbSetting()
    • Method Detail

      • multichannel

        public Multichannel multichannel()
        Get the multichannel property: Multichannel setting. Applies to Premium FileStorage only.
        Returns:
        the multichannel value.
      • withMultichannel

        public SmbSetting withMultichannel​(Multichannel multichannel)
        Set the multichannel property: Multichannel setting. Applies to Premium FileStorage only.
        Parameters:
        multichannel - the multichannel value to set.
        Returns:
        the SmbSetting object itself.
      • 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:
        the versions value.
      • 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:
        versions - the versions value to set.
        Returns:
        the SmbSetting object itself.
      • 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:
        the authenticationMethods value.
      • 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:
        authenticationMethods - the authenticationMethods value to set.
        Returns:
        the SmbSetting object itself.
      • 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:
        the kerberosTicketEncryption value.
      • 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:
        kerberosTicketEncryption - the kerberosTicketEncryption value to set.
        Returns:
        the SmbSetting object itself.
      • 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:
        the channelEncryption value.
      • 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:
        channelEncryption - the channelEncryption value to set.
        Returns:
        the SmbSetting object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.