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