Struct aws_sdk_iot::types::builders::AuditNotificationTargetBuilder
source · #[non_exhaustive]pub struct AuditNotificationTargetBuilder { /* private fields */ }
Expand description
A builder for AuditNotificationTarget
.
Implementations§
source§impl AuditNotificationTargetBuilder
impl AuditNotificationTargetBuilder
sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The ARN of the target (SNS topic) to which audit notifications are sent.
sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The ARN of the target (SNS topic) to which audit notifications 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 notifications to the 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 notifications to the target.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
True if notifications to the target are enabled.
sourcepub fn build(self) -> AuditNotificationTarget
pub fn build(self) -> AuditNotificationTarget
Consumes the builder and constructs a AuditNotificationTarget
.
Trait Implementations§
source§impl Clone for AuditNotificationTargetBuilder
impl Clone for AuditNotificationTargetBuilder
source§fn clone(&self) -> AuditNotificationTargetBuilder
fn clone(&self) -> AuditNotificationTargetBuilder
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 Default for AuditNotificationTargetBuilder
impl Default for AuditNotificationTargetBuilder
source§fn default() -> AuditNotificationTargetBuilder
fn default() -> AuditNotificationTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AuditNotificationTargetBuilder> for AuditNotificationTargetBuilder
impl PartialEq<AuditNotificationTargetBuilder> for AuditNotificationTargetBuilder
source§fn eq(&self, other: &AuditNotificationTargetBuilder) -> bool
fn eq(&self, other: &AuditNotificationTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.