Struct aws_sdk_datazone::types::builders::NotificationOutputBuilder
source · #[non_exhaustive]pub struct NotificationOutputBuilder { /* private fields */ }
Expand description
A builder for NotificationOutput
.
Implementations§
source§impl NotificationOutputBuilder
impl NotificationOutputBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the notification.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the notification.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the notification.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of a Amazon DataZone domain in which the notification exists.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of a Amazon DataZone domain in which the notification exists.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of a Amazon DataZone domain in which the notification exists.
sourcepub fn type(self, input: NotificationType) -> Self
pub fn type(self, input: NotificationType) -> Self
The type of the notification.
sourcepub fn set_type(self, input: Option<NotificationType>) -> Self
pub fn set_type(self, input: Option<NotificationType>) -> Self
The type of the notification.
sourcepub fn get_type(&self) -> &Option<NotificationType>
pub fn get_type(&self) -> &Option<NotificationType>
The type of the notification.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message included in the notification.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message included in the notification.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The message included in the notification.
sourcepub fn status(self, input: TaskStatus) -> Self
pub fn status(self, input: TaskStatus) -> Self
The status included in the notification.
sourcepub fn set_status(self, input: Option<TaskStatus>) -> Self
pub fn set_status(self, input: Option<TaskStatus>) -> Self
The status included in the notification.
sourcepub fn get_status(&self) -> &Option<TaskStatus>
pub fn get_status(&self) -> &Option<TaskStatus>
The status included in the notification.
sourcepub fn action_link(self, input: impl Into<String>) -> Self
pub fn action_link(self, input: impl Into<String>) -> Self
The action link included in the notification.
sourcepub fn set_action_link(self, input: Option<String>) -> Self
pub fn set_action_link(self, input: Option<String>) -> Self
The action link included in the notification.
sourcepub fn get_action_link(&self) -> &Option<String>
pub fn get_action_link(&self) -> &Option<String>
The action link included in the notification.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The timestamp of when a notification was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of when a notification was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The timestamp of when a notification was created.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The timestamp of when the notification was last updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of when the notification was last updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
The timestamp of when the notification was last updated.
sourcepub fn metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to metadata
.
To override the contents of this collection use set_metadata
.
The metadata included in the notification.
sourcepub fn set_metadata(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_metadata(self, input: Option<HashMap<String, String>>) -> Self
The metadata included in the notification.
sourcepub fn get_metadata(&self) -> &Option<HashMap<String, String>>
pub fn get_metadata(&self) -> &Option<HashMap<String, String>>
The metadata included in the notification.
sourcepub fn build(self) -> NotificationOutput
pub fn build(self) -> NotificationOutput
Consumes the builder and constructs a NotificationOutput
.
Trait Implementations§
source§impl Clone for NotificationOutputBuilder
impl Clone for NotificationOutputBuilder
source§fn clone(&self) -> NotificationOutputBuilder
fn clone(&self) -> NotificationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationOutputBuilder
impl Debug for NotificationOutputBuilder
source§impl Default for NotificationOutputBuilder
impl Default for NotificationOutputBuilder
source§fn default() -> NotificationOutputBuilder
fn default() -> NotificationOutputBuilder
source§impl PartialEq for NotificationOutputBuilder
impl PartialEq for NotificationOutputBuilder
source§fn eq(&self, other: &NotificationOutputBuilder) -> bool
fn eq(&self, other: &NotificationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.