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.
This field is required.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.
This field is required.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.
This field is required.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
impl StructuralPartialEq for TopicBuilder
Auto Trait Implementations§
impl Freeze for TopicBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.