Struct aws_sdk_waf::operation::list_rules::builders::ListRulesOutputBuilder
source · #[non_exhaustive]pub struct ListRulesOutputBuilder { /* private fields */ }Expand description
A builder for ListRulesOutput.
Implementations§
source§impl ListRulesOutputBuilder
impl ListRulesOutputBuilder
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 ListRules 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 ListRules 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 ListRules 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) -> ListRulesOutput
pub fn build(self) -> ListRulesOutput
Consumes the builder and constructs a ListRulesOutput.
Trait Implementations§
source§impl Clone for ListRulesOutputBuilder
impl Clone for ListRulesOutputBuilder
source§fn clone(&self) -> ListRulesOutputBuilder
fn clone(&self) -> ListRulesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListRulesOutputBuilder
impl Debug for ListRulesOutputBuilder
source§impl Default for ListRulesOutputBuilder
impl Default for ListRulesOutputBuilder
source§fn default() -> ListRulesOutputBuilder
fn default() -> ListRulesOutputBuilder
source§impl PartialEq for ListRulesOutputBuilder
impl PartialEq for ListRulesOutputBuilder
source§fn eq(&self, other: &ListRulesOutputBuilder) -> bool
fn eq(&self, other: &ListRulesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.