Interface EncryptionInTransit.Builder

    • Method Detail

      • clientBroker

        EncryptionInTransit.Builder clientBroker​(String clientBroker)

        Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.

        TLS means that client-broker communication is enabled with TLS only.

        TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.

        PLAINTEXT means that client-broker communication is enabled in plaintext only.

        The default value is TLS_PLAINTEXT.

        Parameters:
        clientBroker -

        Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.

        TLS means that client-broker communication is enabled with TLS only.

        TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.

        PLAINTEXT means that client-broker communication is enabled in plaintext only.

        The default value is TLS_PLAINTEXT.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClientBroker, ClientBroker
      • clientBroker

        EncryptionInTransit.Builder clientBroker​(ClientBroker clientBroker)

        Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.

        TLS means that client-broker communication is enabled with TLS only.

        TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.

        PLAINTEXT means that client-broker communication is enabled in plaintext only.

        The default value is TLS_PLAINTEXT.

        Parameters:
        clientBroker -

        Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.

        TLS means that client-broker communication is enabled with TLS only.

        TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.

        PLAINTEXT means that client-broker communication is enabled in plaintext only.

        The default value is TLS_PLAINTEXT.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClientBroker, ClientBroker
      • inCluster

        EncryptionInTransit.Builder inCluster​(Boolean inCluster)

        When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.

        The default value is true.

        Parameters:
        inCluster -

        When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.

        The default value is true.

        Returns:
        Returns a reference to this object so that method calls can be chained together.