#[non_exhaustive]pub struct ListProfilesOutputBuilder { /* private fields */ }
Expand description
A builder for ListProfilesOutput
.
Implementations§
source§impl ListProfilesOutputBuilder
impl ListProfilesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Returns a token that you can use to call ListProfiles
again and receive additional results, if there are any.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Returns a token that you can use to call ListProfiles
again and receive additional results, if there are any.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Returns a token that you can use to call ListProfiles
again and receive additional results, if there are any.
sourcepub fn profiles(self, input: ListedProfile) -> Self
pub fn profiles(self, input: ListedProfile) -> Self
Appends an item to profiles
.
To override the contents of this collection use set_profiles
.
Returns an array, where each item contains the details of a profile.
sourcepub fn set_profiles(self, input: Option<Vec<ListedProfile>>) -> Self
pub fn set_profiles(self, input: Option<Vec<ListedProfile>>) -> Self
Returns an array, where each item contains the details of a profile.
sourcepub fn get_profiles(&self) -> &Option<Vec<ListedProfile>>
pub fn get_profiles(&self) -> &Option<Vec<ListedProfile>>
Returns an array, where each item contains the details of a profile.
sourcepub fn build(self) -> Result<ListProfilesOutput, BuildError>
pub fn build(self) -> Result<ListProfilesOutput, BuildError>
Consumes the builder and constructs a ListProfilesOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListProfilesOutputBuilder
impl Clone for ListProfilesOutputBuilder
source§fn clone(&self) -> ListProfilesOutputBuilder
fn clone(&self) -> ListProfilesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProfilesOutputBuilder
impl Debug for ListProfilesOutputBuilder
source§impl Default for ListProfilesOutputBuilder
impl Default for ListProfilesOutputBuilder
source§fn default() -> ListProfilesOutputBuilder
fn default() -> ListProfilesOutputBuilder
source§impl PartialEq for ListProfilesOutputBuilder
impl PartialEq for ListProfilesOutputBuilder
source§fn eq(&self, other: &ListProfilesOutputBuilder) -> bool
fn eq(&self, other: &ListProfilesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProfilesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListProfilesOutputBuilder
impl RefUnwindSafe for ListProfilesOutputBuilder
impl Send for ListProfilesOutputBuilder
impl Sync for ListProfilesOutputBuilder
impl Unpin for ListProfilesOutputBuilder
impl UnwindSafe for ListProfilesOutputBuilder
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
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>
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>
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 more