Interface ProxyConfiguration.Builder

    • Method Detail

      • host

        ProxyConfiguration.Builder host​(String host)

        The name of the website host you want to connect to via a web proxy server.

        For example, the host name of https://a.example.com/page1.html is "a.example.com".

        Parameters:
        host - The name of the website host you want to connect to via a web proxy server.

        For example, the host name of https://a.example.com/page1.html is "a.example.com".

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

        ProxyConfiguration.Builder port​(Integer port)

        The port number of the website host you want to connect to via a web proxy server.

        For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

        Parameters:
        port - The port number of the website host you want to connect to via a web proxy server.

        For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

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

        ProxyConfiguration.Builder credentials​(String credentials)

        Your secret ARN, which you can create in Secrets Manager

        The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

        Parameters:
        credentials - Your secret ARN, which you can create in Secrets Manager

        The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

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