#[non_exhaustive]pub struct GetInsightsOutputBuilder { /* private fields */ }
Expand description
A builder for GetInsightsOutput
.
Implementations§
source§impl GetInsightsOutputBuilder
impl GetInsightsOutputBuilder
sourcepub fn insights(self, input: Insight) -> Self
pub fn insights(self, input: Insight) -> Self
Appends an item to insights
.
To override the contents of this collection use set_insights
.
The insights returned by the operation.
sourcepub fn set_insights(self, input: Option<Vec<Insight>>) -> Self
pub fn set_insights(self, input: Option<Vec<Insight>>) -> Self
The insights returned by the operation.
sourcepub fn get_insights(&self) -> &Option<Vec<Insight>>
pub fn get_insights(&self) -> &Option<Vec<Insight>>
The insights returned by the operation.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to request the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to request the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token to use to request the next page of results.
sourcepub fn build(self) -> GetInsightsOutput
pub fn build(self) -> GetInsightsOutput
Consumes the builder and constructs a GetInsightsOutput
.
Trait Implementations§
source§impl Clone for GetInsightsOutputBuilder
impl Clone for GetInsightsOutputBuilder
source§fn clone(&self) -> GetInsightsOutputBuilder
fn clone(&self) -> GetInsightsOutputBuilder
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 GetInsightsOutputBuilder
impl Debug for GetInsightsOutputBuilder
source§impl Default for GetInsightsOutputBuilder
impl Default for GetInsightsOutputBuilder
source§fn default() -> GetInsightsOutputBuilder
fn default() -> GetInsightsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetInsightsOutputBuilder
impl PartialEq for GetInsightsOutputBuilder
source§fn eq(&self, other: &GetInsightsOutputBuilder) -> bool
fn eq(&self, other: &GetInsightsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetInsightsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetInsightsOutputBuilder
impl Send for GetInsightsOutputBuilder
impl Sync for GetInsightsOutputBuilder
impl Unpin for GetInsightsOutputBuilder
impl UnwindSafe for GetInsightsOutputBuilder
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.