Struct aws_sdk_iot::operation::list_attached_policies::builders::ListAttachedPoliciesOutputBuilder
source · #[non_exhaustive]pub struct ListAttachedPoliciesOutputBuilder { /* private fields */ }
Expand description
A builder for ListAttachedPoliciesOutput
.
Implementations§
source§impl ListAttachedPoliciesOutputBuilder
impl ListAttachedPoliciesOutputBuilder
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 token to retrieve the next set of results, or ``null`` if there are no more results.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
The token to retrieve the next set of results, or ``null`` if there are no more results.
sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
The token to retrieve the next set of results, or ``null`` if there are no more results.
sourcepub fn build(self) -> ListAttachedPoliciesOutput
pub fn build(self) -> ListAttachedPoliciesOutput
Consumes the builder and constructs a ListAttachedPoliciesOutput
.
Trait Implementations§
source§impl Clone for ListAttachedPoliciesOutputBuilder
impl Clone for ListAttachedPoliciesOutputBuilder
source§fn clone(&self) -> ListAttachedPoliciesOutputBuilder
fn clone(&self) -> ListAttachedPoliciesOutputBuilder
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 ListAttachedPoliciesOutputBuilder
impl Default for ListAttachedPoliciesOutputBuilder
source§fn default() -> ListAttachedPoliciesOutputBuilder
fn default() -> ListAttachedPoliciesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListAttachedPoliciesOutputBuilder
impl PartialEq for ListAttachedPoliciesOutputBuilder
source§fn eq(&self, other: &ListAttachedPoliciesOutputBuilder) -> bool
fn eq(&self, other: &ListAttachedPoliciesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAttachedPoliciesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListAttachedPoliciesOutputBuilder
impl RefUnwindSafe for ListAttachedPoliciesOutputBuilder
impl Send for ListAttachedPoliciesOutputBuilder
impl Sync for ListAttachedPoliciesOutputBuilder
impl Unpin for ListAttachedPoliciesOutputBuilder
impl UnwindSafe for ListAttachedPoliciesOutputBuilder
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.