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 ==.