Struct aws_sdk_waf::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetInputBuilder
source · #[non_exhaustive]pub struct UpdateSizeConstraintSetInputBuilder { /* private fields */ }Expand description
A builder for UpdateSizeConstraintSetInput.
Implementations§
source§impl UpdateSizeConstraintSetInputBuilder
impl UpdateSizeConstraintSetInputBuilder
sourcepub fn size_constraint_set_id(self, input: impl Into<String>) -> Self
pub fn size_constraint_set_id(self, input: impl Into<String>) -> Self
The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.
sourcepub fn set_size_constraint_set_id(self, input: Option<String>) -> Self
pub fn set_size_constraint_set_id(self, input: Option<String>) -> Self
The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.
sourcepub fn get_size_constraint_set_id(&self) -> &Option<String>
pub fn get_size_constraint_set_id(&self) -> &Option<String>
The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.
sourcepub fn change_token(self, input: impl Into<String>) -> Self
pub fn change_token(self, input: impl Into<String>) -> Self
The value returned by the most recent call to GetChangeToken.
sourcepub fn set_change_token(self, input: Option<String>) -> Self
pub fn set_change_token(self, input: Option<String>) -> Self
The value returned by the most recent call to GetChangeToken.
sourcepub fn get_change_token(&self) -> &Option<String>
pub fn get_change_token(&self) -> &Option<String>
The value returned by the most recent call to GetChangeToken.
sourcepub fn updates(self, input: SizeConstraintSetUpdate) -> Self
pub fn updates(self, input: SizeConstraintSetUpdate) -> Self
Appends an item to updates.
To override the contents of this collection use set_updates.
An array of SizeConstraintSetUpdate objects that you want to insert into or delete from a SizeConstraintSet. For more information, see the applicable data types:
-
SizeConstraintSetUpdate: ContainsActionandSizeConstraint -
SizeConstraint: ContainsFieldToMatch,TextTransformation,ComparisonOperator, andSize -
FieldToMatch: ContainsDataandType
sourcepub fn set_updates(self, input: Option<Vec<SizeConstraintSetUpdate>>) -> Self
pub fn set_updates(self, input: Option<Vec<SizeConstraintSetUpdate>>) -> Self
An array of SizeConstraintSetUpdate objects that you want to insert into or delete from a SizeConstraintSet. For more information, see the applicable data types:
-
SizeConstraintSetUpdate: ContainsActionandSizeConstraint -
SizeConstraint: ContainsFieldToMatch,TextTransformation,ComparisonOperator, andSize -
FieldToMatch: ContainsDataandType
sourcepub fn get_updates(&self) -> &Option<Vec<SizeConstraintSetUpdate>>
pub fn get_updates(&self) -> &Option<Vec<SizeConstraintSetUpdate>>
An array of SizeConstraintSetUpdate objects that you want to insert into or delete from a SizeConstraintSet. For more information, see the applicable data types:
-
SizeConstraintSetUpdate: ContainsActionandSizeConstraint -
SizeConstraint: ContainsFieldToMatch,TextTransformation,ComparisonOperator, andSize -
FieldToMatch: ContainsDataandType
sourcepub fn build(self) -> Result<UpdateSizeConstraintSetInput, BuildError>
pub fn build(self) -> Result<UpdateSizeConstraintSetInput, BuildError>
Consumes the builder and constructs a UpdateSizeConstraintSetInput.
source§impl UpdateSizeConstraintSetInputBuilder
impl UpdateSizeConstraintSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateSizeConstraintSetOutput, SdkError<UpdateSizeConstraintSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateSizeConstraintSetOutput, SdkError<UpdateSizeConstraintSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSizeConstraintSetInputBuilder
impl Clone for UpdateSizeConstraintSetInputBuilder
source§fn clone(&self) -> UpdateSizeConstraintSetInputBuilder
fn clone(&self) -> UpdateSizeConstraintSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateSizeConstraintSetInputBuilder
impl Default for UpdateSizeConstraintSetInputBuilder
source§fn default() -> UpdateSizeConstraintSetInputBuilder
fn default() -> UpdateSizeConstraintSetInputBuilder
source§impl PartialEq for UpdateSizeConstraintSetInputBuilder
impl PartialEq for UpdateSizeConstraintSetInputBuilder
source§fn eq(&self, other: &UpdateSizeConstraintSetInputBuilder) -> bool
fn eq(&self, other: &UpdateSizeConstraintSetInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSizeConstraintSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSizeConstraintSetInputBuilder
impl RefUnwindSafe for UpdateSizeConstraintSetInputBuilder
impl Send for UpdateSizeConstraintSetInputBuilder
impl Sync for UpdateSizeConstraintSetInputBuilder
impl Unpin for UpdateSizeConstraintSetInputBuilder
impl UnwindSafe for UpdateSizeConstraintSetInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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