Interface ByteMatchSet.Builder

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

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

    • byteMatchSetId

      ByteMatchSet.Builder byteMatchSetId(String byteMatchSetId)

      The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

      Parameters:
      byteMatchSetId - The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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<ByteMatchTuple>).

      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: