Interface ApiKeySecretOutput.Builder

  • Method Details

    • apiKeySecretArn

      ApiKeySecretOutput.Builder apiKeySecretArn(String apiKeySecretArn)

      The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.

      Parameters:
      apiKeySecretArn - The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeySecretSource

      ApiKeySecretOutput.Builder apiKeySecretSource(String apiKeySecretSource)

      Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).

      Parameters:
      apiKeySecretSource - Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • apiKeySecretSource

      ApiKeySecretOutput.Builder apiKeySecretSource(SecretSource apiKeySecretSource)

      Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).

      Parameters:
      apiKeySecretSource - Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • apiKeySecretJsonKey

      ApiKeySecretOutput.Builder apiKeySecretJsonKey(String apiKeySecretJsonKey)

      The key read from the secret's JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.

      Parameters:
      apiKeySecretJsonKey - The key read from the secret's JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.