Interface AuthConfiguration.Builder

  • Method Details

    • authenticationType

      AuthConfiguration.Builder authenticationType(Property authenticationType)

      The type of authentication for a connection.

      Parameters:
      authenticationType - The type of authentication for a connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authenticationType

      default AuthConfiguration.Builder authenticationType(Consumer<Property.Builder> authenticationType)

      The type of authentication for a connection.

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

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

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

      AuthConfiguration.Builder secretArn(Property secretArn)

      The Amazon Resource Name (ARN) for the Secrets Manager.

      Parameters:
      secretArn - The Amazon Resource Name (ARN) for the Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretArn

      default AuthConfiguration.Builder secretArn(Consumer<Property.Builder> secretArn)

      The Amazon Resource Name (ARN) for the Secrets Manager.

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

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

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

      AuthConfiguration.Builder oAuth2Properties(Map<String,Property> oAuth2Properties)

      A map of key-value pairs for the OAuth2 properties. Each value is a a Property object.

      Parameters:
      oAuth2Properties - A map of key-value pairs for the OAuth2 properties. Each value is a a Property object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • basicAuthenticationProperties

      AuthConfiguration.Builder basicAuthenticationProperties(Map<String,Property> basicAuthenticationProperties)

      A map of key-value pairs for the OAuth2 properties. Each value is a a Property object.

      Parameters:
      basicAuthenticationProperties - A map of key-value pairs for the OAuth2 properties. Each value is a a Property object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customAuthenticationProperties

      AuthConfiguration.Builder customAuthenticationProperties(Map<String,Property> customAuthenticationProperties)

      A map of key-value pairs for the custom authentication properties. Each value is a a Property object.

      Parameters:
      customAuthenticationProperties - A map of key-value pairs for the custom authentication properties. Each value is a a Property object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.