#[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 ==
.