Interface DeliveryOptions.Builder

    • Method Detail

      • tlsPolicy

        DeliveryOptions.Builder tlsPolicy​(String tlsPolicy)

        Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.

        Parameters:
        tlsPolicy - Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TlsPolicy, TlsPolicy
      • tlsPolicy

        DeliveryOptions.Builder tlsPolicy​(TlsPolicy tlsPolicy)

        Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.

        Parameters:
        tlsPolicy - Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TlsPolicy, TlsPolicy