#[non_exhaustive]pub struct GetRulesOutputBuilder { /* private fields */ }
Expand description
A builder for GetRulesOutput
.
Implementations§
source§impl GetRulesOutputBuilder
impl GetRulesOutputBuilder
sourcepub fn rule_details(self, input: RuleDetail) -> Self
pub fn rule_details(self, input: RuleDetail) -> Self
Appends an item to rule_details
.
To override the contents of this collection use set_rule_details
.
The details of the requested rule.
sourcepub fn set_rule_details(self, input: Option<Vec<RuleDetail>>) -> Self
pub fn set_rule_details(self, input: Option<Vec<RuleDetail>>) -> Self
The details of the requested rule.
sourcepub fn get_rule_details(&self) -> &Option<Vec<RuleDetail>>
pub fn get_rule_details(&self) -> &Option<Vec<RuleDetail>>
The details of the requested rule.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next page token to be used in subsequent requests.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next page token to be used in subsequent requests.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next page token to be used in subsequent requests.
sourcepub fn build(self) -> GetRulesOutput
pub fn build(self) -> GetRulesOutput
Consumes the builder and constructs a GetRulesOutput
.
Trait Implementations§
source§impl Clone for GetRulesOutputBuilder
impl Clone for GetRulesOutputBuilder
source§fn clone(&self) -> GetRulesOutputBuilder
fn clone(&self) -> GetRulesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetRulesOutputBuilder
impl Debug for GetRulesOutputBuilder
source§impl Default for GetRulesOutputBuilder
impl Default for GetRulesOutputBuilder
source§fn default() -> GetRulesOutputBuilder
fn default() -> GetRulesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRulesOutputBuilder
impl PartialEq for GetRulesOutputBuilder
source§fn eq(&self, other: &GetRulesOutputBuilder) -> bool
fn eq(&self, other: &GetRulesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRulesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRulesOutputBuilder
impl RefUnwindSafe for GetRulesOutputBuilder
impl Send for GetRulesOutputBuilder
impl Sync for GetRulesOutputBuilder
impl Unpin for GetRulesOutputBuilder
impl UnwindSafe for GetRulesOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.