Class ByteMatchSetUpdate
- java.lang.Object
-
- com.amazonaws.services.waf.model.ByteMatchSetUpdate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ByteMatchSetUpdate extends Object implements Serializable, Cloneable
In an UpdateByteMatchSet request,
ByteMatchSetUpdatespecifies whether to insert or delete a ByteMatchTuple and includes the settings for theByteMatchTuple.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByteMatchSetUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteMatchSetUpdateclone()booleanequals(Object obj)StringgetAction()Specifies whether to insert or delete a ByteMatchTuple.ByteMatchTuplegetByteMatchTuple()Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for.inthashCode()voidsetAction(ChangeAction action)Specifies whether to insert or delete a ByteMatchTuple.voidsetAction(String action)Specifies whether to insert or delete a ByteMatchTuple.voidsetByteMatchTuple(ByteMatchTuple byteMatchTuple)Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for.StringtoString()Returns a string representation of this object; useful for testing and debugging.ByteMatchSetUpdatewithAction(ChangeAction action)Specifies whether to insert or delete a ByteMatchTuple.ByteMatchSetUpdatewithAction(String action)Specifies whether to insert or delete a ByteMatchTuple.ByteMatchSetUpdatewithByteMatchTuple(ByteMatchTuple byteMatchTuple)Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for.
-
-
-
Method Detail
-
setAction
public void setAction(String action)
Specifies whether to insert or delete a ByteMatchTuple.
- Parameters:
action- Specifies whether to insert or delete a ByteMatchTuple.- See Also:
ChangeAction
-
getAction
public String getAction()
Specifies whether to insert or delete a ByteMatchTuple.
- Returns:
- Specifies whether to insert or delete a ByteMatchTuple.
- See Also:
ChangeAction
-
withAction
public ByteMatchSetUpdate withAction(String action)
Specifies whether to insert or delete a ByteMatchTuple.
- Parameters:
action- Specifies whether to insert or delete a ByteMatchTuple.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setAction
public void setAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.
- Parameters:
action- Specifies whether to insert or delete a ByteMatchTuple.- See Also:
ChangeAction
-
withAction
public ByteMatchSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.
- Parameters:
action- Specifies whether to insert or delete a ByteMatchTuple.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setByteMatchTuple
public void setByteMatchTuple(ByteMatchTuple byteMatchTuple)
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify
DELETEfor the value ofAction, theByteMatchTuplevalues must exactly match the values in theByteMatchTuplethat you want to delete from theByteMatchSet.- Parameters:
byteMatchTuple- Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specifyDELETEfor the value ofAction, theByteMatchTuplevalues must exactly match the values in theByteMatchTuplethat you want to delete from theByteMatchSet.
-
getByteMatchTuple
public ByteMatchTuple getByteMatchTuple()
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify
DELETEfor the value ofAction, theByteMatchTuplevalues must exactly match the values in theByteMatchTuplethat you want to delete from theByteMatchSet.- Returns:
- Information about the part of a web request that you want AWS WAF
to inspect and the value that you want AWS WAF to search for. If
you specify
DELETEfor the value ofAction, theByteMatchTuplevalues must exactly match the values in theByteMatchTuplethat you want to delete from theByteMatchSet.
-
withByteMatchTuple
public ByteMatchSetUpdate withByteMatchTuple(ByteMatchTuple byteMatchTuple)
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify
DELETEfor the value ofAction, theByteMatchTuplevalues must exactly match the values in theByteMatchTuplethat you want to delete from theByteMatchSet.- Parameters:
byteMatchTuple- Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specifyDELETEfor the value ofAction, theByteMatchTuplevalues must exactly match the values in theByteMatchTuplethat you want to delete from theByteMatchSet.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ByteMatchSetUpdate clone()
-
-