Interface CredentialBrokerProperties.Builder

  • Method Details

    • credentialProviderArn

      CredentialBrokerProperties.Builder credentialProviderArn(String credentialProviderArn)

      The Amazon Resource Name (ARN) of the credential broker OAuth credential provider used to obtain credentials for this connection.

      Parameters:
      credentialProviderArn - The Amazon Resource Name (ARN) of the credential broker OAuth credential provider used to obtain credentials for this connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2GrantType

      CredentialBrokerProperties.Builder oAuth2GrantType(String oAuth2GrantType)

      The OAuth2 grant type the credential broker uses to obtain tokens. Must be one of CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_BEARER, or AUTHORIZATION_CODE.

      Parameters:
      oAuth2GrantType - The OAuth2 grant type the credential broker uses to obtain tokens. Must be one of CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_BEARER, or AUTHORIZATION_CODE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • oAuth2GrantType

      CredentialBrokerProperties.Builder oAuth2GrantType(OAuth2GrantType oAuth2GrantType)

      The OAuth2 grant type the credential broker uses to obtain tokens. Must be one of CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_BEARER, or AUTHORIZATION_CODE.

      Parameters:
      oAuth2GrantType - The OAuth2 grant type the credential broker uses to obtain tokens. Must be one of CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_BEARER, or AUTHORIZATION_CODE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopes

      The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.

      Parameters:
      scopes - The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopes

      The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.

      Parameters:
      scopes - The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.