Struct aws_sdk_elasticache::types::builders::EventBuilder
source · #[non_exhaustive]pub struct EventBuilder { /* private fields */ }
Expand description
A builder for Event
.
Implementations§
source§impl EventBuilder
impl EventBuilder
sourcepub fn source_identifier(self, input: impl Into<String>) -> Self
pub fn source_identifier(self, input: impl Into<String>) -> Self
The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.
sourcepub fn set_source_identifier(self, input: Option<String>) -> Self
pub fn set_source_identifier(self, input: Option<String>) -> Self
The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.
sourcepub fn get_source_identifier(&self) -> &Option<String>
pub fn get_source_identifier(&self) -> &Option<String>
The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
Specifies the origin of this event - a cluster, a parameter group, a security group, etc.
sourcepub fn set_source_type(self, input: Option<SourceType>) -> Self
pub fn set_source_type(self, input: Option<SourceType>) -> Self
Specifies the origin of this event - a cluster, a parameter group, a security group, etc.
sourcepub fn get_source_type(&self) -> &Option<SourceType>
pub fn get_source_type(&self) -> &Option<SourceType>
Specifies the origin of this event - a cluster, a parameter group, a security group, etc.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The text of the event.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The text of the event.
Trait Implementations§
source§impl Clone for EventBuilder
impl Clone for EventBuilder
source§fn clone(&self) -> EventBuilder
fn clone(&self) -> EventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventBuilder
impl Debug for EventBuilder
source§impl Default for EventBuilder
impl Default for EventBuilder
source§fn default() -> EventBuilder
fn default() -> EventBuilder
source§impl PartialEq for EventBuilder
impl PartialEq for EventBuilder
source§fn eq(&self, other: &EventBuilder) -> bool
fn eq(&self, other: &EventBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.