@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqlInjectionMatchSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Specifies the part of a web request that you want to inspect for snippets of malicious SQL code and indicates whether
you want to add the specification to a SqlInjectionMatchSet or delete it from a
SqlInjectionMatchSet
.
Constructor and Description |
---|
SqlInjectionMatchSetUpdate() |
Modifier and Type | Method and Description |
---|---|
SqlInjectionMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
|
SqlInjectionMatchTuple |
getSqlInjectionMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if
you want AWS WAF to inspect a header, the name of the header.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(ChangeAction action)
|
void |
setAction(String action)
|
void |
setSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if
you want AWS WAF to inspect a header, the name of the header.
|
String |
toString()
Returns a string representation of this object.
|
SqlInjectionMatchSetUpdate |
withAction(ChangeAction action)
|
SqlInjectionMatchSetUpdate |
withAction(String action)
|
SqlInjectionMatchSetUpdate |
withSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if
you want AWS WAF to inspect a header, the name of the header.
|
public void setAction(String action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use
DELETE
to remove a SqlInjectionMatchSetUpdate
from a SqlInjectionMatchSet
.
action
- Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet.
Use DELETE
to remove a SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public String getAction()
Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use
DELETE
to remove a SqlInjectionMatchSetUpdate
from a SqlInjectionMatchSet
.
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet.
Use DELETE
to remove a SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public SqlInjectionMatchSetUpdate withAction(String action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use
DELETE
to remove a SqlInjectionMatchSetUpdate
from a SqlInjectionMatchSet
.
action
- Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet.
Use DELETE
to remove a SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public void setAction(ChangeAction action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use
DELETE
to remove a SqlInjectionMatchSetUpdate
from a SqlInjectionMatchSet
.
action
- Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet.
Use DELETE
to remove a SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public SqlInjectionMatchSetUpdate withAction(ChangeAction action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use
DELETE
to remove a SqlInjectionMatchSetUpdate
from a SqlInjectionMatchSet
.
action
- Specify INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet.
Use DELETE
to remove a SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public void setSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
sqlInjectionMatchTuple
- Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code
and, if you want AWS WAF to inspect a header, the name of the header.public SqlInjectionMatchTuple getSqlInjectionMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
public SqlInjectionMatchSetUpdate withSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
sqlInjectionMatchTuple
- Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code
and, if you want AWS WAF to inspect a header, the name of the header.public String toString()
toString
in class Object
Object.toString()
public SqlInjectionMatchSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.