Interface CreateApiKeyCredentialProviderResponse.Builder

  • Method Details

    • apiKeySecretArn

      CreateApiKeyCredentialProviderResponse.Builder apiKeySecretArn(Secret apiKeySecretArn)

      The Amazon Resource Name (ARN) of the secret containing the API key.

      Parameters:
      apiKeySecretArn - The Amazon Resource Name (ARN) of the secret containing the API key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeySecretArn

      default CreateApiKeyCredentialProviderResponse.Builder apiKeySecretArn(Consumer<Secret.Builder> apiKeySecretArn)

      The Amazon Resource Name (ARN) of the secret containing the API key.

      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 apiKeySecretArn(Secret).

      Parameters:
      apiKeySecretArn - 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:
    • name

      The name of the created API key credential provider.

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

      CreateApiKeyCredentialProviderResponse.Builder credentialProviderArn(String credentialProviderArn)

      The Amazon Resource Name (ARN) of the created API key credential provider.

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