@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ByteMatchSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a
ByteMatchTuple and includes the settings for the ByteMatchTuple.
| Constructor and Description |
|---|
ByteMatchSetUpdate() |
| Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
public void setAction(String action)
Specifies whether to insert or delete a ByteMatchTuple.
action - Specifies whether to insert or delete a ByteMatchTuple.ChangeActionpublic String getAction()
Specifies whether to insert or delete a ByteMatchTuple.
ChangeActionpublic ByteMatchSetUpdate withAction(String action)
Specifies whether to insert or delete a ByteMatchTuple.
action - Specifies whether to insert or delete a ByteMatchTuple.ChangeActionpublic void setAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.
action - Specifies whether to insert or delete a ByteMatchTuple.ChangeActionpublic ByteMatchSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a ByteMatchTuple.
action - Specifies whether to insert or delete a ByteMatchTuple.ChangeActionpublic 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 String toString()
toString in class ObjectObject.toString()public ByteMatchSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.