Struct aws_sdk_waf::operation::list_rate_based_rules::builders::ListRateBasedRulesOutputBuilder
source · #[non_exhaustive]pub struct ListRateBasedRulesOutputBuilder { /* private fields */ }Expand description
A builder for ListRateBasedRulesOutput.
Implementations§
source§impl ListRateBasedRulesOutputBuilder
impl ListRateBasedRulesOutputBuilder
sourcepub fn next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
sourcepub fn rules(self, input: RuleSummary) -> Self
pub fn rules(self, input: RuleSummary) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
An array of RuleSummary objects.
sourcepub fn set_rules(self, input: Option<Vec<RuleSummary>>) -> Self
pub fn set_rules(self, input: Option<Vec<RuleSummary>>) -> Self
An array of RuleSummary objects.
sourcepub fn get_rules(&self) -> &Option<Vec<RuleSummary>>
pub fn get_rules(&self) -> &Option<Vec<RuleSummary>>
An array of RuleSummary objects.
sourcepub fn build(self) -> ListRateBasedRulesOutput
pub fn build(self) -> ListRateBasedRulesOutput
Consumes the builder and constructs a ListRateBasedRulesOutput.
Trait Implementations§
source§impl Clone for ListRateBasedRulesOutputBuilder
impl Clone for ListRateBasedRulesOutputBuilder
source§fn clone(&self) -> ListRateBasedRulesOutputBuilder
fn clone(&self) -> ListRateBasedRulesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListRateBasedRulesOutputBuilder
impl Default for ListRateBasedRulesOutputBuilder
source§fn default() -> ListRateBasedRulesOutputBuilder
fn default() -> ListRateBasedRulesOutputBuilder
source§impl PartialEq for ListRateBasedRulesOutputBuilder
impl PartialEq for ListRateBasedRulesOutputBuilder
source§fn eq(&self, other: &ListRateBasedRulesOutputBuilder) -> bool
fn eq(&self, other: &ListRateBasedRulesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.