public class ByteMatchSetUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
In an UpdateByteMatchSet request, ByteMatchSetUpdate
specifies whether to insert or delete a ByteMatchTuple and includes
the settings for the ByteMatchTuple
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action
Specifies whether to insert or delete a ByteMatchTuple.
|
private 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.
|
Constructor and Description |
---|
ByteMatchSetUpdate() |
Modifier and Type | Method and Description |
---|---|
ByteMatchSetUpdate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.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(java.lang.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.
|
private java.lang.String action
Specifies whether to insert or delete a ByteMatchTuple.
private 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 of Action
, the
ByteMatchTuple
values must exactly match the values in the
ByteMatchTuple
that you want to delete from the
ByteMatchSet
.
public void setAction(java.lang.String action)
Specifies whether to insert or delete a ByteMatchTuple.
action
- Specifies whether to insert or delete a ByteMatchTuple.ChangeAction
public java.lang.String getAction()
Specifies whether to insert or delete a ByteMatchTuple.
ChangeAction
public ByteMatchSetUpdate withAction(java.lang.String action)
Specifies whether to insert or delete a ByteMatchTuple.
action
- Specifies whether to insert or delete a ByteMatchTuple.ChangeAction
public void setAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.
action
- Specifies whether to insert or delete a ByteMatchTuple.ChangeAction
public ByteMatchSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.
action
- Specifies whether to insert or delete a ByteMatchTuple.ChangeAction
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 of Action
, the
ByteMatchTuple
values must exactly match the values in the
ByteMatchTuple
that you want to delete from the
ByteMatchSet
.
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 of
Action
, the ByteMatchTuple
values must
exactly match the values in the ByteMatchTuple
that
you want to delete from the ByteMatchSet
.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 of Action
, the
ByteMatchTuple
values must exactly match the values in the
ByteMatchTuple
that you want to delete from the
ByteMatchSet
.
DELETE
for the value of
Action
, the ByteMatchTuple
values must
exactly match the values in the ByteMatchTuple
that
you want to delete from the ByteMatchSet
.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 of Action
, the
ByteMatchTuple
values must exactly match the values in the
ByteMatchTuple
that you want to delete from the
ByteMatchSet
.
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 of
Action
, the ByteMatchTuple
values must
exactly match the values in the ByteMatchTuple
that
you want to delete from the ByteMatchSet
.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ByteMatchSetUpdate clone()
clone
in class java.lang.Object