Class ByteMatchSetSummary

java.lang.Object
com.amazonaws.services.waf.model.ByteMatchSetSummary
All Implemented Interfaces:
Serializable, Cloneable

public class ByteMatchSetSummary extends Object implements Serializable, Cloneable

Returned by ListByteMatchSets. Each ByteMatchSetSummary object includes the Name and ByteMatchSetId for one ByteMatchSet.

See Also:
  • Constructor Details

    • ByteMatchSetSummary

      public ByteMatchSetSummary()
  • Method Details

    • setByteMatchSetId

      public void setByteMatchSetId(String byteMatchSetId)

      The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

      Parameters:
      byteMatchSetId - The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

    • getByteMatchSetId

      public String getByteMatchSetId()

      The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

      Returns:
      The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

    • withByteMatchSetId

      public ByteMatchSetSummary withByteMatchSetId(String byteMatchSetId)

      The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

      Parameters:
      byteMatchSetId - The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

      ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(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.
    • getName

      public String getName()

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

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

      public ByteMatchSetSummary withName(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.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ByteMatchSetSummary clone()
      Overrides:
      clone in class Object