Struct aws_sdk_iot::types::builders::AlertTargetBuilder
source · #[non_exhaustive]pub struct AlertTargetBuilder { /* private fields */ }
Expand description
A builder for AlertTarget
.
Implementations§
source§impl AlertTargetBuilder
impl AlertTargetBuilder
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§
source§impl Clone for AlertTargetBuilder
impl Clone for AlertTargetBuilder
source§fn clone(&self) -> AlertTargetBuilder
fn clone(&self) -> AlertTargetBuilder
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 AlertTargetBuilder
impl Debug for AlertTargetBuilder
source§impl Default for AlertTargetBuilder
impl Default for AlertTargetBuilder
source§fn default() -> AlertTargetBuilder
fn default() -> AlertTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AlertTargetBuilder> for AlertTargetBuilder
impl PartialEq<AlertTargetBuilder> for AlertTargetBuilder
source§fn eq(&self, other: &AlertTargetBuilder) -> bool
fn eq(&self, other: &AlertTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.