@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class XssMatchSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether
you want to add the specification to an XssMatchSet or delete it from an XssMatchSet
.
Constructor and Description |
---|
XssMatchSetUpdate() |
Modifier and Type | Method and Description |
---|---|
XssMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
|
XssMatchTuple |
getXssMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks 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 |
setXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you
want AWS WAF to inspect a header, the name of the header.
|
String |
toString()
Returns a string representation of this object.
|
XssMatchSetUpdate |
withAction(ChangeAction action)
|
XssMatchSetUpdate |
withAction(String action)
|
XssMatchSetUpdate |
withXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you
want AWS WAF to inspect a header, the name of the header.
|
public void setAction(String action)
Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public String getAction()
Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.
INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public XssMatchSetUpdate withAction(String action)
Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public void setAction(ChangeAction action)
Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public XssMatchSetUpdate withAction(ChangeAction action)
Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public void setXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
xssMatchTuple
- Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and,
if you want AWS WAF to inspect a header, the name of the header.public XssMatchTuple getXssMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
public XssMatchSetUpdate withXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
xssMatchTuple
- Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks 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 XssMatchSetUpdate 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.