#[non_exhaustive]pub struct RecommendationRelatedEventBuilder { /* private fields */ }
Expand description
A builder for RecommendationRelatedEvent
.
Implementations§
source§impl RecommendationRelatedEventBuilder
impl RecommendationRelatedEventBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the event. This corresponds to the Name
field in an Event
object.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the event. This corresponds to the Name
field in an Event
object.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the event. This corresponds to the Name
field in an Event
object.
sourcepub fn resources(self, input: RecommendationRelatedEventResource) -> Self
pub fn resources(self, input: RecommendationRelatedEventResource) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
A ResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn set_resources(
self,
input: Option<Vec<RecommendationRelatedEventResource>>
) -> Self
pub fn set_resources( self, input: Option<Vec<RecommendationRelatedEventResource>> ) -> Self
A ResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn get_resources(&self) -> &Option<Vec<RecommendationRelatedEventResource>>
pub fn get_resources(&self) -> &Option<Vec<RecommendationRelatedEventResource>>
A ResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn build(self) -> RecommendationRelatedEvent
pub fn build(self) -> RecommendationRelatedEvent
Consumes the builder and constructs a RecommendationRelatedEvent
.
Trait Implementations§
source§impl Clone for RecommendationRelatedEventBuilder
impl Clone for RecommendationRelatedEventBuilder
source§fn clone(&self) -> RecommendationRelatedEventBuilder
fn clone(&self) -> RecommendationRelatedEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationRelatedEventBuilder
impl Default for RecommendationRelatedEventBuilder
source§fn default() -> RecommendationRelatedEventBuilder
fn default() -> RecommendationRelatedEventBuilder
source§impl PartialEq for RecommendationRelatedEventBuilder
impl PartialEq for RecommendationRelatedEventBuilder
source§fn eq(&self, other: &RecommendationRelatedEventBuilder) -> bool
fn eq(&self, other: &RecommendationRelatedEventBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationRelatedEventBuilder
Auto Trait Implementations§
impl Freeze for RecommendationRelatedEventBuilder
impl RefUnwindSafe for RecommendationRelatedEventBuilder
impl Send for RecommendationRelatedEventBuilder
impl Sync for RecommendationRelatedEventBuilder
impl Unpin for RecommendationRelatedEventBuilder
impl UnwindSafe for RecommendationRelatedEventBuilder
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