Struct aws_sdk_memorydb::model::event::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Event
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn source_name(self, input: impl Into<String>) -> Self
pub fn source_name(self, input: impl Into<String>) -> Self
The name 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_name(self, input: Option<String>) -> Self
pub fn set_source_name(self, input: Option<String>) -> Self
The name 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 set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The text of the event.