Interface GithubOauth2ProviderConfigInput.Builder

  • Method Details

    • clientId

      The client ID for the GitHub OAuth2 provider.

      Parameters:
      clientId - The client ID for the GitHub OAuth2 provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecret

      GithubOauth2ProviderConfigInput.Builder clientSecret(String clientSecret)

      The client secret for the GitHub OAuth2 provider.

      Parameters:
      clientSecret - The client secret for the GitHub OAuth2 provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecretConfig

      GithubOauth2ProviderConfigInput.Builder clientSecretConfig(SecretReference clientSecretConfig)

      A reference to the Amazon Web Services Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when clientSecretSource is set to EXTERNAL.

      Parameters:
      clientSecretConfig - A reference to the Amazon Web Services Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when clientSecretSource is set to EXTERNAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecretConfig

      default GithubOauth2ProviderConfigInput.Builder clientSecretConfig(Consumer<SecretReference.Builder> clientSecretConfig)

      A reference to the Amazon Web Services Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when clientSecretSource is set to EXTERNAL.

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

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

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

      GithubOauth2ProviderConfigInput.Builder clientSecretSource(String clientSecretSource)

      The source type of the client secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.

      Parameters:
      clientSecretSource - The source type of the client secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientSecretSource

      GithubOauth2ProviderConfigInput.Builder clientSecretSource(SecretSourceType clientSecretSource)

      The source type of the client secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.

      Parameters:
      clientSecretSource - The source type of the client secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: