Class TextTransformation
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.TextTransformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TextTransformation.Builder,TextTransformation>
@Generated("software.amazon.awssdk:codegen") public final class TextTransformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextTransformation.Builder,TextTransformation>
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTextTransformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextTransformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerpriority()Sets the relative processing order for multiple transformations.List<SdkField<?>>sdkFields()static Class<? extends TextTransformation.Builder>serializableBuilderClass()TextTransformation.BuildertoBuilder()StringtoString()Returns a string representation of this object.TextTransformationTypetype()For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.StringtypeAsString()For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
priority
public final 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.
- Returns:
- 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.
-
type
public final TextTransformationType type()
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTextTransformationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
- See Also:
TextTransformationType
-
typeAsString
public final String typeAsString()
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTextTransformationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
- See Also:
TextTransformationType
-
toBuilder
public TextTransformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TextTransformation.Builder,TextTransformation>
-
builder
public static TextTransformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends TextTransformation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-