Struct aws_sdk_waf::operation::list_rate_based_rules::builders::ListRateBasedRulesInputBuilder
source · #[non_exhaustive]pub struct ListRateBasedRulesInputBuilder { /* private fields */ }Expand description
A builder for ListRateBasedRulesInput.
Implementations§
source§impl ListRateBasedRulesInputBuilder
impl ListRateBasedRulesInputBuilder
sourcepub fn next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.
sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.
sourcepub fn build(self) -> Result<ListRateBasedRulesInput, BuildError>
pub fn build(self) -> Result<ListRateBasedRulesInput, BuildError>
Consumes the builder and constructs a ListRateBasedRulesInput.
source§impl ListRateBasedRulesInputBuilder
impl ListRateBasedRulesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListRateBasedRulesOutput, SdkError<ListRateBasedRulesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListRateBasedRulesOutput, SdkError<ListRateBasedRulesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListRateBasedRulesInputBuilder
impl Clone for ListRateBasedRulesInputBuilder
source§fn clone(&self) -> ListRateBasedRulesInputBuilder
fn clone(&self) -> ListRateBasedRulesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListRateBasedRulesInputBuilder
impl Default for ListRateBasedRulesInputBuilder
source§fn default() -> ListRateBasedRulesInputBuilder
fn default() -> ListRateBasedRulesInputBuilder
source§impl PartialEq for ListRateBasedRulesInputBuilder
impl PartialEq for ListRateBasedRulesInputBuilder
source§fn eq(&self, other: &ListRateBasedRulesInputBuilder) -> bool
fn eq(&self, other: &ListRateBasedRulesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.