Interface HttpDataSourceConfig.Builder

    • Method Detail

      • endpoint

        HttpDataSourceConfig.Builder endpoint​(String endpoint)

        The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

        Parameters:
        endpoint - The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizationConfig

        HttpDataSourceConfig.Builder authorizationConfig​(AuthorizationConfig authorizationConfig)

        The authorization configuration in case the HTTP endpoint requires authorization.

        Parameters:
        authorizationConfig - The authorization configuration in case the HTTP endpoint requires authorization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.