Interface AuthenticationConfig.Builder

  • Method Details

    • isBasicAuthSupported

      AuthenticationConfig.Builder isBasicAuthSupported(Boolean isBasicAuthSupported)

      Indicates whether basic authentication is supported by the connector.

      Parameters:
      isBasicAuthSupported - Indicates whether basic authentication is supported by the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isApiKeyAuthSupported

      AuthenticationConfig.Builder isApiKeyAuthSupported(Boolean isApiKeyAuthSupported)

      Indicates whether API key authentication is supported by the connector

      Parameters:
      isApiKeyAuthSupported - Indicates whether API key authentication is supported by the connector
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isOAuth2Supported

      AuthenticationConfig.Builder isOAuth2Supported(Boolean isOAuth2Supported)

      Indicates whether OAuth 2.0 authentication is supported by the connector.

      Parameters:
      isOAuth2Supported - Indicates whether OAuth 2.0 authentication is supported by the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isCustomAuthSupported

      AuthenticationConfig.Builder isCustomAuthSupported(Boolean isCustomAuthSupported)

      Indicates whether custom authentication is supported by the connector

      Parameters:
      isCustomAuthSupported - Indicates whether custom authentication is supported by the connector
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2Defaults

      AuthenticationConfig.Builder oAuth2Defaults(OAuth2Defaults oAuth2Defaults)

      Contains the default values required for OAuth 2.0 authentication.

      Parameters:
      oAuth2Defaults - Contains the default values required for OAuth 2.0 authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2Defaults

      default AuthenticationConfig.Builder oAuth2Defaults(Consumer<OAuth2Defaults.Builder> oAuth2Defaults)

      Contains the default values required for OAuth 2.0 authentication.

      This is a convenience method that creates an instance of the OAuth2Defaults.Builder avoiding the need to create one manually via OAuth2Defaults.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to oAuth2Defaults(OAuth2Defaults).

      Parameters:
      oAuth2Defaults - a consumer that will call methods on OAuth2Defaults.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customAuthConfigs

      AuthenticationConfig.Builder customAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs)

      Contains information required for custom authentication.

      Parameters:
      customAuthConfigs - Contains information required for custom authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customAuthConfigs

      AuthenticationConfig.Builder customAuthConfigs(CustomAuthConfig... customAuthConfigs)

      Contains information required for custom authentication.

      Parameters:
      customAuthConfigs - Contains information required for custom authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customAuthConfigs

      AuthenticationConfig.Builder customAuthConfigs(Consumer<CustomAuthConfig.Builder>... customAuthConfigs)

      Contains information required for custom authentication.

      This is a convenience method that creates an instance of the CustomAuthConfig.Builder avoiding the need to create one manually via CustomAuthConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customAuthConfigs(List<CustomAuthConfig>).

      Parameters:
      customAuthConfigs - a consumer that will call methods on CustomAuthConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: