Interface ByteMatchSet.Builder

    • Method Detail

      • name

        ByteMatchSet.Builder name​(String name)

        A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

        Parameters:
        name - A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • byteMatchTuples

        ByteMatchSet.Builder byteMatchTuples​(Collection<ByteMatchTuple> byteMatchTuples)

        Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

        Parameters:
        byteMatchTuples - Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • byteMatchTuples

        ByteMatchSet.Builder byteMatchTuples​(ByteMatchTuple... byteMatchTuples)

        Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

        Parameters:
        byteMatchTuples - Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • byteMatchTuples

        ByteMatchSet.Builder byteMatchTuples​(Consumer<ByteMatchTuple.Builder>... byteMatchTuples)

        Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #byteMatchTuples(List).

        Parameters:
        byteMatchTuples - a consumer that will call methods on ByteMatchTuple.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #byteMatchTuples(java.util.Collection)