Interface CreateOauth2CredentialProviderResponse.Builder

  • Method Details

    • clientSecretArn

      CreateOauth2CredentialProviderResponse.Builder clientSecretArn(Secret clientSecretArn)

      The Amazon Resource Name (ARN) of the client secret in Amazon Web Services Secrets Manager.

      Parameters:
      clientSecretArn - The Amazon Resource Name (ARN) of the client secret in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecretArn

      default CreateOauth2CredentialProviderResponse.Builder clientSecretArn(Consumer<Secret.Builder> clientSecretArn)

      The Amazon Resource Name (ARN) of the client secret in Amazon Web Services Secrets Manager.

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

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

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

      CreateOauth2CredentialProviderResponse.Builder clientSecretJsonKey(String clientSecretJsonKey)

      The JSON key used to extract the client secret value from the Amazon Web Services Secrets Manager secret.

      Parameters:
      clientSecretJsonKey - The JSON key used to extract the client secret value from the Amazon Web Services Secrets Manager secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecretSource

      CreateOauth2CredentialProviderResponse.Builder clientSecretSource(String clientSecretSource)

      The source type of the client secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.

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

      CreateOauth2CredentialProviderResponse.Builder clientSecretSource(SecretSourceType clientSecretSource)

      The source type of the client secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.

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

      The name of the OAuth2 credential provider.

      Parameters:
      name - The name of the OAuth2 credential provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialProviderArn

      CreateOauth2CredentialProviderResponse.Builder credentialProviderArn(String credentialProviderArn)

      The Amazon Resource Name (ARN) of the OAuth2 credential provider.

      Parameters:
      credentialProviderArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callbackUrl

      Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.

      Parameters:
      callbackUrl - Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oauth2ProviderConfigOutput

      CreateOauth2CredentialProviderResponse.Builder oauth2ProviderConfigOutput(Oauth2ProviderConfigOutput oauth2ProviderConfigOutput)
      Sets the value of the Oauth2ProviderConfigOutput property for this object.
      Parameters:
      oauth2ProviderConfigOutput - The new value for the Oauth2ProviderConfigOutput property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oauth2ProviderConfigOutput

      default CreateOauth2CredentialProviderResponse.Builder oauth2ProviderConfigOutput(Consumer<Oauth2ProviderConfigOutput.Builder> oauth2ProviderConfigOutput)
      Sets the value of the Oauth2ProviderConfigOutput property for this object. This is a convenience method that creates an instance of the Oauth2ProviderConfigOutput.Builder avoiding the need to create one manually via Oauth2ProviderConfigOutput.builder().

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

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

      The current status of the OAuth2 credential provider.

      Parameters:
      status - The current status of the OAuth2 credential provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the OAuth2 credential provider.

      Parameters:
      status - The current status of the OAuth2 credential provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: