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 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 ==.impl StructuralPartialEq for NotificationBuilder
Auto Trait Implementations§
impl Freeze for NotificationBuilder
impl RefUnwindSafe for NotificationBuilder
impl Send for NotificationBuilder
impl Sync for NotificationBuilder
impl Unpin for NotificationBuilder
impl UnwindSafe for NotificationBuilder
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