@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextTransformation extends Object implements Serializable, Cloneable, StructuredPojo
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.
Constructor and Description |
---|
TextTransformation() |
Modifier and Type | Method and Description |
---|---|
TextTransformation |
clone() |
boolean |
equals(Object obj) |
Integer |
getPriority()
Sets the relative processing order for multiple transformations.
|
String |
getType()
For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPriority(Integer priority)
Sets the relative processing order for multiple transformations.
|
void |
setType(String type)
For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.
|
String |
toString()
Returns a string representation of this object.
|
TextTransformation |
withPriority(Integer priority)
Sets the relative processing order for multiple transformations.
|
TextTransformation |
withType(String type)
For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.
|
TextTransformation |
withType(TextTransformationType type)
For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.
|
public void setPriority(Integer priority)
Sets the relative processing order for multiple transformations. WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.
priority
- Sets the relative processing order for multiple transformations. WAF processes all transformations, from
lowest priority to highest, before inspecting the transformed content. The priorities don't need to be
consecutive, but they must all be different.public Integer getPriority()
Sets the relative processing order for multiple transformations. WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.
public TextTransformation withPriority(Integer priority)
Sets the relative processing order for multiple transformations. WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.
priority
- Sets the relative processing order for multiple transformations. WAF processes all transformations, from
lowest priority to highest, before inspecting the transformed content. The priorities don't need to be
consecutive, but they must all be different.public void setType(String type)
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
type
- For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.TextTransformationType
public String getType()
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
TextTransformationType
public TextTransformation withType(String type)
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
type
- For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.TextTransformationType
public TextTransformation withType(TextTransformationType type)
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
type
- For detailed descriptions of each of the transformation types, see Text
transformations in the WAF Developer Guide.TextTransformationType
public String toString()
toString
in class Object
Object.toString()
public TextTransformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.