Interface OAuth2ClientCredentialConfiguration.Builder

    • Method Detail

      • roleArn

        OAuth2ClientCredentialConfiguration.Builder roleArn​(String roleArn)

        The ARN of an IAM role used by Amazon Q to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.

        Parameters:
        roleArn - The ARN of an IAM role used by Amazon Q to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretArn

        OAuth2ClientCredentialConfiguration.Builder secretArn​(String secretArn)

        The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for plugin configuration.

        Parameters:
        secretArn - The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for plugin configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.