Interface SnsMessageManager.Builder

Enclosing interface:
SnsMessageManager

public static interface SnsMessageManager.Builder
  • Method Details

    • httpClient

      SnsMessageManager.Builder httpClient(SdkHttpClient httpClient)
      Sets the HTTP client to use for certificate retrieval. The caller is responsible for closing this HTTP client after the SnsMessageManager is closed.
      Parameters:
      httpClient - The HTTP client to use for fetching signing certificates.
      Returns:
      This builder for method chaining.
    • region

      Sets the AWS region for certificate validation. This region must match the SNS region where the messages originate. This is a required parameter.
      Parameters:
      region - The AWS region where the SNS messages originate.
      Returns:
      This builder for method chaining.
    • build

      Builds an instance of SnsMessageManager based on the supplied configurations.
      Returns:
      An initialized SnsMessageManager ready to validate SNS messages.