Interface AuthenticationConfiguration.Builder

  • Method Details

    • authenticationType

      AuthenticationConfiguration.Builder authenticationType(String authenticationType)

      A structure containing the authentication configuration.

      Parameters:
      authenticationType - A structure containing the authentication configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authenticationType

      AuthenticationConfiguration.Builder authenticationType(AuthenticationType authenticationType)

      A structure containing the authentication configuration.

      Parameters:
      authenticationType - A structure containing the authentication configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • secretArn

      The secret manager ARN to store credentials.

      Parameters:
      secretArn - The secret manager ARN to store credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.

      Parameters:
      kmsKeyArn - The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2Properties

      AuthenticationConfiguration.Builder oAuth2Properties(OAuth2Properties oAuth2Properties)

      The properties for OAuth2 authentication.

      Parameters:
      oAuth2Properties - The properties for OAuth2 authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2Properties

      default AuthenticationConfiguration.Builder oAuth2Properties(Consumer<OAuth2Properties.Builder> oAuth2Properties)

      The properties for OAuth2 authentication.

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

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

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