Interface CustomAuthConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CustomAuthConfig.Builder,CustomAuthConfig>, SdkBuilder<CustomAuthConfig.Builder,CustomAuthConfig>, SdkPojo
Enclosing class:
CustomAuthConfig

public static interface CustomAuthConfig.Builder extends SdkPojo, CopyableBuilder<CustomAuthConfig.Builder,CustomAuthConfig>
  • Method Details

    • customAuthenticationType

      CustomAuthConfig.Builder customAuthenticationType(String customAuthenticationType)

      The authentication type that the custom connector uses.

      Parameters:
      customAuthenticationType - The authentication type that the custom connector uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authParameters

      CustomAuthConfig.Builder authParameters(Collection<AuthParameter> authParameters)

      Information about authentication parameters required for authentication.

      Parameters:
      authParameters - Information about authentication parameters required for authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authParameters

      CustomAuthConfig.Builder authParameters(AuthParameter... authParameters)

      Information about authentication parameters required for authentication.

      Parameters:
      authParameters - Information about authentication parameters required for authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authParameters

      CustomAuthConfig.Builder authParameters(Consumer<AuthParameter.Builder>... authParameters)

      Information about authentication parameters required for authentication.

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

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

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