#[non_exhaustive]pub struct ListPoliciesInputBuilder { /* private fields */ }Expand description
A builder for ListPoliciesInput.
Implementations§
source§impl ListPoliciesInputBuilder
impl ListPoliciesInputBuilder
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The marker for the next set of results.
sourcepub fn set_page_size(self, input: Option<i32>) -> Self
pub fn set_page_size(self, input: Option<i32>) -> Self
The result page size.
sourcepub fn get_page_size(&self) -> &Option<i32>
pub fn get_page_size(&self) -> &Option<i32>
The result page size.
sourcepub fn ascending_order(self, input: bool) -> Self
pub fn ascending_order(self, input: bool) -> Self
Specifies the order for results. If true, the results are returned in ascending creation order.
sourcepub fn set_ascending_order(self, input: Option<bool>) -> Self
pub fn set_ascending_order(self, input: Option<bool>) -> Self
Specifies the order for results. If true, the results are returned in ascending creation order.
sourcepub fn get_ascending_order(&self) -> &Option<bool>
pub fn get_ascending_order(&self) -> &Option<bool>
Specifies the order for results. If true, the results are returned in ascending creation order.
sourcepub fn build(self) -> Result<ListPoliciesInput, BuildError>
pub fn build(self) -> Result<ListPoliciesInput, BuildError>
Consumes the builder and constructs a ListPoliciesInput.
source§impl ListPoliciesInputBuilder
impl ListPoliciesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPoliciesOutput, SdkError<ListPoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPoliciesOutput, SdkError<ListPoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPoliciesInputBuilder
impl Clone for ListPoliciesInputBuilder
source§fn clone(&self) -> ListPoliciesInputBuilder
fn clone(&self) -> ListPoliciesInputBuilder
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 ListPoliciesInputBuilder
impl Debug for ListPoliciesInputBuilder
source§impl Default for ListPoliciesInputBuilder
impl Default for ListPoliciesInputBuilder
source§fn default() -> ListPoliciesInputBuilder
fn default() -> ListPoliciesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPoliciesInputBuilder
impl PartialEq for ListPoliciesInputBuilder
source§fn eq(&self, other: &ListPoliciesInputBuilder) -> bool
fn eq(&self, other: &ListPoliciesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListPoliciesInputBuilder
Auto Trait Implementations§
impl Freeze for ListPoliciesInputBuilder
impl RefUnwindSafe for ListPoliciesInputBuilder
impl Send for ListPoliciesInputBuilder
impl Sync for ListPoliciesInputBuilder
impl Unpin for ListPoliciesInputBuilder
impl UnwindSafe for ListPoliciesInputBuilder
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.