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,
ByteMatchSetUpdate
specifies 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 ByteMatchSetUpdate
clone()
boolean
equals(Object obj)
String
getAction()
Specifies whether to insert or delete a ByteMatchTuple.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.int
hashCode()
void
setAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.void
setAction(String action)
Specifies whether to insert or delete a ByteMatchTuple.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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ByteMatchSetUpdate
withAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.ByteMatchSetUpdate
withAction(String action)
Specifies whether to insert or delete a ByteMatchTuple.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.
-
-
-
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
DELETE
for the value ofAction
, theByteMatchTuple
values must exactly match the values in theByteMatchTuple
that 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 specifyDELETE
for the value ofAction
, theByteMatchTuple
values must exactly match the values in theByteMatchTuple
that 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
DELETE
for the value ofAction
, theByteMatchTuple
values must exactly match the values in theByteMatchTuple
that 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
DELETE
for the value ofAction
, theByteMatchTuple
values must exactly match the values in theByteMatchTuple
that 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
DELETE
for the value ofAction
, theByteMatchTuple
values must exactly match the values in theByteMatchTuple
that 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 specifyDELETE
for the value ofAction
, theByteMatchTuple
values must exactly match the values in theByteMatchTuple
that 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ByteMatchSetUpdate clone()
-
-