Struct aws_sdk_auditmanager::types::builders::NotificationBuilder
source · #[non_exhaustive]pub struct NotificationBuilder { /* private fields */ }
Expand description
A builder for Notification
.
Implementations§
source§impl NotificationBuilder
impl NotificationBuilder
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the notification.
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The identifier for the assessment.
sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The identifier for the assessment.
sourcepub fn assessment_name(self, input: impl Into<String>) -> Self
pub fn assessment_name(self, input: impl Into<String>) -> Self
The name of the related assessment.
sourcepub fn set_assessment_name(self, input: Option<String>) -> Self
pub fn set_assessment_name(self, input: Option<String>) -> Self
The name of the related assessment.
sourcepub fn get_assessment_name(&self) -> &Option<String>
pub fn get_assessment_name(&self) -> &Option<String>
The name of the related assessment.
sourcepub fn control_set_id(self, input: impl Into<String>) -> Self
pub fn control_set_id(self, input: impl Into<String>) -> Self
The identifier for the control set.
sourcepub fn set_control_set_id(self, input: Option<String>) -> Self
pub fn set_control_set_id(self, input: Option<String>) -> Self
The identifier for the control set.
sourcepub fn get_control_set_id(&self) -> &Option<String>
pub fn get_control_set_id(&self) -> &Option<String>
The identifier for the control set.
sourcepub fn control_set_name(self, input: impl Into<String>) -> Self
pub fn control_set_name(self, input: impl Into<String>) -> Self
Specifies the name of the control set that the notification is about.
sourcepub fn set_control_set_name(self, input: Option<String>) -> Self
pub fn set_control_set_name(self, input: Option<String>) -> Self
Specifies the name of the control set that the notification is about.
sourcepub fn get_control_set_name(&self) -> &Option<String>
pub fn get_control_set_name(&self) -> &Option<String>
Specifies the name of the control set that the notification is about.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the notification.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the notification.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the notification.
sourcepub fn event_time(self, input: DateTime) -> Self
pub fn event_time(self, input: DateTime) -> Self
The time when the notification was sent.
sourcepub fn set_event_time(self, input: Option<DateTime>) -> Self
pub fn set_event_time(self, input: Option<DateTime>) -> Self
The time when the notification was sent.
sourcepub fn get_event_time(&self) -> &Option<DateTime>
pub fn get_event_time(&self) -> &Option<DateTime>
The time when the notification was sent.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The sender of the notification.
sourcepub fn get_source(&self) -> &Option<String>
pub fn get_source(&self) -> &Option<String>
The sender of the notification.
sourcepub fn build(self) -> Notification
pub fn build(self) -> Notification
Consumes the builder and constructs a Notification
.
Trait Implementations§
source§impl Clone for NotificationBuilder
impl Clone for NotificationBuilder
source§fn clone(&self) -> NotificationBuilder
fn clone(&self) -> NotificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationBuilder
impl Debug for NotificationBuilder
source§impl Default for NotificationBuilder
impl Default for NotificationBuilder
source§fn default() -> NotificationBuilder
fn default() -> NotificationBuilder
source§impl PartialEq for NotificationBuilder
impl PartialEq for NotificationBuilder
source§fn eq(&self, other: &NotificationBuilder) -> bool
fn eq(&self, other: &NotificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.