Interface ProxyCredentials.Builder

  • Method Details

    • basicAuth

      ProxyCredentials.Builder basicAuth(BasicAuth basicAuth)

      HTTP Basic Authentication credentials (username and password) stored in Amazon Web Services Secrets Manager.

      Parameters:
      basicAuth - HTTP Basic Authentication credentials (username and password) stored in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • basicAuth

      default ProxyCredentials.Builder basicAuth(Consumer<BasicAuth.Builder> basicAuth)

      HTTP Basic Authentication credentials (username and password) stored in Amazon Web Services Secrets Manager.

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

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

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