Struct aws_sdk_qconnect::operation::get_recommendations::builders::GetRecommendationsOutputBuilder
source · #[non_exhaustive]pub struct GetRecommendationsOutputBuilder { /* private fields */ }Expand description
A builder for GetRecommendationsOutput.
Implementations§
source§impl GetRecommendationsOutputBuilder
impl GetRecommendationsOutputBuilder
sourcepub fn recommendations(self, input: RecommendationData) -> Self
pub fn recommendations(self, input: RecommendationData) -> Self
Appends an item to recommendations.
To override the contents of this collection use set_recommendations.
The recommendations.
sourcepub fn set_recommendations(self, input: Option<Vec<RecommendationData>>) -> Self
pub fn set_recommendations(self, input: Option<Vec<RecommendationData>>) -> Self
The recommendations.
sourcepub fn get_recommendations(&self) -> &Option<Vec<RecommendationData>>
pub fn get_recommendations(&self) -> &Option<Vec<RecommendationData>>
The recommendations.
sourcepub fn triggers(self, input: RecommendationTrigger) -> Self
pub fn triggers(self, input: RecommendationTrigger) -> Self
Appends an item to triggers.
To override the contents of this collection use set_triggers.
The triggers corresponding to recommendations.
sourcepub fn set_triggers(self, input: Option<Vec<RecommendationTrigger>>) -> Self
pub fn set_triggers(self, input: Option<Vec<RecommendationTrigger>>) -> Self
The triggers corresponding to recommendations.
sourcepub fn get_triggers(&self) -> &Option<Vec<RecommendationTrigger>>
pub fn get_triggers(&self) -> &Option<Vec<RecommendationTrigger>>
The triggers corresponding to recommendations.
sourcepub fn build(self) -> Result<GetRecommendationsOutput, BuildError>
pub fn build(self) -> Result<GetRecommendationsOutput, BuildError>
Consumes the builder and constructs a GetRecommendationsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetRecommendationsOutputBuilder
impl Clone for GetRecommendationsOutputBuilder
source§fn clone(&self) -> GetRecommendationsOutputBuilder
fn clone(&self) -> GetRecommendationsOutputBuilder
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 GetRecommendationsOutputBuilder
impl Default for GetRecommendationsOutputBuilder
source§fn default() -> GetRecommendationsOutputBuilder
fn default() -> GetRecommendationsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRecommendationsOutputBuilder
impl PartialEq for GetRecommendationsOutputBuilder
source§fn eq(&self, other: &GetRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &GetRecommendationsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRecommendationsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetRecommendationsOutputBuilder
impl Send for GetRecommendationsOutputBuilder
impl Sync for GetRecommendationsOutputBuilder
impl Unpin for GetRecommendationsOutputBuilder
impl UnwindSafe for GetRecommendationsOutputBuilder
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.