Struct aws_sdk_wafv2::types::builders::TextTransformationBuilder
source · #[non_exhaustive]pub struct TextTransformationBuilder { /* private fields */ }
Expand description
A builder for TextTransformation
.
Implementations§
source§impl TextTransformationBuilder
impl TextTransformationBuilder
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
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.
This field is required.sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
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.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
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.
sourcepub fn type(self, input: TextTransformationType) -> Self
pub fn type(self, input: TextTransformationType) -> Self
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
This field is required.sourcepub fn set_type(self, input: Option<TextTransformationType>) -> Self
pub fn set_type(self, input: Option<TextTransformationType>) -> Self
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
sourcepub fn get_type(&self) -> &Option<TextTransformationType>
pub fn get_type(&self) -> &Option<TextTransformationType>
For detailed descriptions of each of the transformation types, see Text transformations in the WAF Developer Guide.
sourcepub fn build(self) -> Result<TextTransformation, BuildError>
pub fn build(self) -> Result<TextTransformation, BuildError>
Consumes the builder and constructs a TextTransformation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TextTransformationBuilder
impl Clone for TextTransformationBuilder
source§fn clone(&self) -> TextTransformationBuilder
fn clone(&self) -> TextTransformationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TextTransformationBuilder
impl Debug for TextTransformationBuilder
source§impl Default for TextTransformationBuilder
impl Default for TextTransformationBuilder
source§fn default() -> TextTransformationBuilder
fn default() -> TextTransformationBuilder
source§impl PartialEq for TextTransformationBuilder
impl PartialEq for TextTransformationBuilder
source§fn eq(&self, other: &TextTransformationBuilder) -> bool
fn eq(&self, other: &TextTransformationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextTransformationBuilder
Auto Trait Implementations§
impl Freeze for TextTransformationBuilder
impl RefUnwindSafe for TextTransformationBuilder
impl Send for TextTransformationBuilder
impl Sync for TextTransformationBuilder
impl Unpin for TextTransformationBuilder
impl UnwindSafe for TextTransformationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more