Struct aws_sdk_datazone::types::builders::TopicBuilder
source · #[non_exhaustive]pub struct TopicBuilder { /* private fields */ }
Expand description
A builder for Topic
.
Implementations§
source§impl TopicBuilder
impl TopicBuilder
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The subject of the resource mentioned in a notification.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The subject of the resource mentioned in a notification.
sourcepub fn get_subject(&self) -> &Option<String>
pub fn get_subject(&self) -> &Option<String>
The subject of the resource mentioned in a notification.
sourcepub fn resource(self, input: NotificationResource) -> Self
pub fn resource(self, input: NotificationResource) -> Self
The details of the resource mentioned in a notification.
sourcepub fn set_resource(self, input: Option<NotificationResource>) -> Self
pub fn set_resource(self, input: Option<NotificationResource>) -> Self
The details of the resource mentioned in a notification.
sourcepub fn get_resource(&self) -> &Option<NotificationResource>
pub fn get_resource(&self) -> &Option<NotificationResource>
The details of the resource mentioned in a notification.
sourcepub fn role(self, input: NotificationRole) -> Self
pub fn role(self, input: NotificationRole) -> Self
The role of the resource mentioned in a notification.
sourcepub fn set_role(self, input: Option<NotificationRole>) -> Self
pub fn set_role(self, input: Option<NotificationRole>) -> Self
The role of the resource mentioned in a notification.
sourcepub fn get_role(&self) -> &Option<NotificationRole>
pub fn get_role(&self) -> &Option<NotificationRole>
The role of the resource mentioned in a notification.
Trait Implementations§
source§impl Clone for TopicBuilder
impl Clone for TopicBuilder
source§fn clone(&self) -> TopicBuilder
fn clone(&self) -> TopicBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TopicBuilder
impl Debug for TopicBuilder
source§impl Default for TopicBuilder
impl Default for TopicBuilder
source§fn default() -> TopicBuilder
fn default() -> TopicBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TopicBuilder
impl PartialEq for TopicBuilder
source§fn eq(&self, other: &TopicBuilder) -> bool
fn eq(&self, other: &TopicBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TopicBuilder
impl Send for TopicBuilder
impl Sync for TopicBuilder
impl Unpin for TopicBuilder
impl UnwindSafe for TopicBuilder
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
Mutably borrows from an owned value. Read more