Interface CookieMatchPattern.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CookieMatchPattern.Builder,CookieMatchPattern>, SdkBuilder<CookieMatchPattern.Builder,CookieMatchPattern>, SdkPojo
Enclosing class:
CookieMatchPattern

public static interface CookieMatchPattern.Builder extends SdkPojo, CopyableBuilder<CookieMatchPattern.Builder,CookieMatchPattern>
  • Method Details

    • all

      Inspect all cookies.

      Parameters:
      all - Inspect all cookies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • all

      Inspect all cookies.

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

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

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

      CookieMatchPattern.Builder includedCookies(Collection<String> includedCookies)

      Inspect only the cookies that have a key that matches one of the strings specified here.

      Parameters:
      includedCookies - Inspect only the cookies that have a key that matches one of the strings specified here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includedCookies

      CookieMatchPattern.Builder includedCookies(String... includedCookies)

      Inspect only the cookies that have a key that matches one of the strings specified here.

      Parameters:
      includedCookies - Inspect only the cookies that have a key that matches one of the strings specified here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedCookies

      CookieMatchPattern.Builder excludedCookies(Collection<String> excludedCookies)

      Inspect only the cookies whose keys don't match any of the strings specified here.

      Parameters:
      excludedCookies - Inspect only the cookies whose keys don't match any of the strings specified here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedCookies

      CookieMatchPattern.Builder excludedCookies(String... excludedCookies)

      Inspect only the cookies whose keys don't match any of the strings specified here.

      Parameters:
      excludedCookies - Inspect only the cookies whose keys don't match any of the strings specified here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.