Struct aws_sdk_customerprofiles::operation::list_profile_object_types::builders::ListProfileObjectTypesOutputBuilder
source · #[non_exhaustive]pub struct ListProfileObjectTypesOutputBuilder { /* private fields */ }
Expand description
A builder for ListProfileObjectTypesOutput
.
Implementations§
source§impl ListProfileObjectTypesOutputBuilder
impl ListProfileObjectTypesOutputBuilder
sourcepub fn items(self, input: ListProfileObjectTypeItem) -> Self
pub fn items(self, input: ListProfileObjectTypeItem) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The list of ListProfileObjectTypes instances.
sourcepub fn set_items(self, input: Option<Vec<ListProfileObjectTypeItem>>) -> Self
pub fn set_items(self, input: Option<Vec<ListProfileObjectTypeItem>>) -> Self
The list of ListProfileObjectTypes instances.
sourcepub fn get_items(&self) -> &Option<Vec<ListProfileObjectTypeItem>>
pub fn get_items(&self) -> &Option<Vec<ListProfileObjectTypeItem>>
The list of ListProfileObjectTypes instances.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Identifies the next page of results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Identifies the next page of results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Identifies the next page of results to return.
sourcepub fn build(self) -> ListProfileObjectTypesOutput
pub fn build(self) -> ListProfileObjectTypesOutput
Consumes the builder and constructs a ListProfileObjectTypesOutput
.
Trait Implementations§
source§impl Clone for ListProfileObjectTypesOutputBuilder
impl Clone for ListProfileObjectTypesOutputBuilder
source§fn clone(&self) -> ListProfileObjectTypesOutputBuilder
fn clone(&self) -> ListProfileObjectTypesOutputBuilder
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 ListProfileObjectTypesOutputBuilder
impl Default for ListProfileObjectTypesOutputBuilder
source§fn default() -> ListProfileObjectTypesOutputBuilder
fn default() -> ListProfileObjectTypesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListProfileObjectTypesOutputBuilder
impl PartialEq for ListProfileObjectTypesOutputBuilder
source§fn eq(&self, other: &ListProfileObjectTypesOutputBuilder) -> bool
fn eq(&self, other: &ListProfileObjectTypesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProfileObjectTypesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListProfileObjectTypesOutputBuilder
impl RefUnwindSafe for ListProfileObjectTypesOutputBuilder
impl Send for ListProfileObjectTypesOutputBuilder
impl Sync for ListProfileObjectTypesOutputBuilder
impl Unpin for ListProfileObjectTypesOutputBuilder
impl UnwindSafe for ListProfileObjectTypesOutputBuilder
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.