Struct aws_sdk_waf::operation::create_rate_based_rule::builders::CreateRateBasedRuleOutputBuilder
source · #[non_exhaustive]pub struct CreateRateBasedRuleOutputBuilder { /* private fields */ }Expand description
A builder for CreateRateBasedRuleOutput.
Implementations§
source§impl CreateRateBasedRuleOutputBuilder
impl CreateRateBasedRuleOutputBuilder
sourcepub fn rule(self, input: RateBasedRule) -> Self
pub fn rule(self, input: RateBasedRule) -> Self
The RateBasedRule that is returned in the CreateRateBasedRule response.
sourcepub fn set_rule(self, input: Option<RateBasedRule>) -> Self
pub fn set_rule(self, input: Option<RateBasedRule>) -> Self
The RateBasedRule that is returned in the CreateRateBasedRule response.
sourcepub fn get_rule(&self) -> &Option<RateBasedRule>
pub fn get_rule(&self) -> &Option<RateBasedRule>
The RateBasedRule that is returned in the CreateRateBasedRule response.
sourcepub fn change_token(self, input: impl Into<String>) -> Self
pub fn change_token(self, input: impl Into<String>) -> Self
The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
sourcepub fn set_change_token(self, input: Option<String>) -> Self
pub fn set_change_token(self, input: Option<String>) -> Self
The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
sourcepub fn get_change_token(&self) -> &Option<String>
pub fn get_change_token(&self) -> &Option<String>
The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
sourcepub fn build(self) -> CreateRateBasedRuleOutput
pub fn build(self) -> CreateRateBasedRuleOutput
Consumes the builder and constructs a CreateRateBasedRuleOutput.
Trait Implementations§
source§impl Clone for CreateRateBasedRuleOutputBuilder
impl Clone for CreateRateBasedRuleOutputBuilder
source§fn clone(&self) -> CreateRateBasedRuleOutputBuilder
fn clone(&self) -> CreateRateBasedRuleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateRateBasedRuleOutputBuilder
impl Default for CreateRateBasedRuleOutputBuilder
source§fn default() -> CreateRateBasedRuleOutputBuilder
fn default() -> CreateRateBasedRuleOutputBuilder
source§impl PartialEq for CreateRateBasedRuleOutputBuilder
impl PartialEq for CreateRateBasedRuleOutputBuilder
source§fn eq(&self, other: &CreateRateBasedRuleOutputBuilder) -> bool
fn eq(&self, other: &CreateRateBasedRuleOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateRateBasedRuleOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateRateBasedRuleOutputBuilder
impl RefUnwindSafe for CreateRateBasedRuleOutputBuilder
impl Send for CreateRateBasedRuleOutputBuilder
impl Sync for CreateRateBasedRuleOutputBuilder
impl Unpin for CreateRateBasedRuleOutputBuilder
impl UnwindSafe for CreateRateBasedRuleOutputBuilder
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