Struct aws_sdk_iot::model::alert_target::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AlertTarget.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn alert_target_arn(self, input: impl Into<String>) -> Self
pub fn alert_target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
sourcepub fn set_alert_target_arn(self, input: Option<String>) -> Self
pub fn set_alert_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that grants permission to send alerts to the notification target.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that grants permission to send alerts to the notification target.
sourcepub fn build(self) -> AlertTarget
pub fn build(self) -> AlertTarget
Consumes the builder and constructs a AlertTarget.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more