Interface AllowListCriteria.Builder

  • Method Details

    • regex

      The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.

      Parameters:
      regex - The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3WordsList

      AllowListCriteria.Builder s3WordsList(S3WordsList s3WordsList)

      The location and name of the S3 object that lists specific text to ignore.

      Parameters:
      s3WordsList - The location and name of the S3 object that lists specific text to ignore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3WordsList

      default AllowListCriteria.Builder s3WordsList(Consumer<S3WordsList.Builder> s3WordsList)

      The location and name of the S3 object that lists specific text to ignore.

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

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

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