Struct aws_sdk_iot::operation::list_principal_policies::builders::ListPrincipalPoliciesOutputBuilder
source · #[non_exhaustive]pub struct ListPrincipalPoliciesOutputBuilder { /* private fields */ }
Expand description
A builder for ListPrincipalPoliciesOutput
.
Implementations§
source§impl ListPrincipalPoliciesOutputBuilder
impl ListPrincipalPoliciesOutputBuilder
sourcepub fn policies(self, input: Policy) -> Self
pub fn policies(self, input: Policy) -> Self
Appends an item to policies
.
To override the contents of this collection use set_policies
.
The policies.
sourcepub fn set_policies(self, input: Option<Vec<Policy>>) -> Self
pub fn set_policies(self, input: Option<Vec<Policy>>) -> Self
The policies.
sourcepub fn get_policies(&self) -> &Option<Vec<Policy>>
pub fn get_policies(&self) -> &Option<Vec<Policy>>
The policies.
sourcepub fn next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
The marker for the next set of results, or null if there are no additional results.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
The marker for the next set of results, or null if there are no additional results.
sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
The marker for the next set of results, or null if there are no additional results.
sourcepub fn build(self) -> ListPrincipalPoliciesOutput
pub fn build(self) -> ListPrincipalPoliciesOutput
Consumes the builder and constructs a ListPrincipalPoliciesOutput
.
Trait Implementations§
source§impl Clone for ListPrincipalPoliciesOutputBuilder
impl Clone for ListPrincipalPoliciesOutputBuilder
source§fn clone(&self) -> ListPrincipalPoliciesOutputBuilder
fn clone(&self) -> ListPrincipalPoliciesOutputBuilder
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 Default for ListPrincipalPoliciesOutputBuilder
impl Default for ListPrincipalPoliciesOutputBuilder
source§fn default() -> ListPrincipalPoliciesOutputBuilder
fn default() -> ListPrincipalPoliciesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPrincipalPoliciesOutputBuilder
impl PartialEq for ListPrincipalPoliciesOutputBuilder
source§fn eq(&self, other: &ListPrincipalPoliciesOutputBuilder) -> bool
fn eq(&self, other: &ListPrincipalPoliciesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPrincipalPoliciesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPrincipalPoliciesOutputBuilder
impl RefUnwindSafe for ListPrincipalPoliciesOutputBuilder
impl Send for ListPrincipalPoliciesOutputBuilder
impl Sync for ListPrincipalPoliciesOutputBuilder
impl Unpin for ListPrincipalPoliciesOutputBuilder
impl UnwindSafe for ListPrincipalPoliciesOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.