Struct aws_sdk_iot::types::builders::TopicRuleListItemBuilder
source · #[non_exhaustive]pub struct TopicRuleListItemBuilder { /* private fields */ }
Expand description
A builder for TopicRuleListItem
.
Implementations§
source§impl TopicRuleListItemBuilder
impl TopicRuleListItemBuilder
sourcepub fn set_rule_arn(self, input: Option<String>) -> Self
pub fn set_rule_arn(self, input: Option<String>) -> Self
The rule ARN.
sourcepub fn get_rule_arn(&self) -> &Option<String>
pub fn get_rule_arn(&self) -> &Option<String>
The rule ARN.
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the rule.
sourcepub fn get_rule_name(&self) -> &Option<String>
pub fn get_rule_name(&self) -> &Option<String>
The name of the rule.
sourcepub fn topic_pattern(self, input: impl Into<String>) -> Self
pub fn topic_pattern(self, input: impl Into<String>) -> Self
The pattern for the topic names that apply.
sourcepub fn set_topic_pattern(self, input: Option<String>) -> Self
pub fn set_topic_pattern(self, input: Option<String>) -> Self
The pattern for the topic names that apply.
sourcepub fn get_topic_pattern(&self) -> &Option<String>
pub fn get_topic_pattern(&self) -> &Option<String>
The pattern for the topic names that apply.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the rule was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time the rule was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the rule was created.
sourcepub fn rule_disabled(self, input: bool) -> Self
pub fn rule_disabled(self, input: bool) -> Self
Specifies whether the rule is disabled.
sourcepub fn set_rule_disabled(self, input: Option<bool>) -> Self
pub fn set_rule_disabled(self, input: Option<bool>) -> Self
Specifies whether the rule is disabled.
sourcepub fn get_rule_disabled(&self) -> &Option<bool>
pub fn get_rule_disabled(&self) -> &Option<bool>
Specifies whether the rule is disabled.
sourcepub fn build(self) -> TopicRuleListItem
pub fn build(self) -> TopicRuleListItem
Consumes the builder and constructs a TopicRuleListItem
.
Trait Implementations§
source§impl Clone for TopicRuleListItemBuilder
impl Clone for TopicRuleListItemBuilder
source§fn clone(&self) -> TopicRuleListItemBuilder
fn clone(&self) -> TopicRuleListItemBuilder
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 TopicRuleListItemBuilder
impl Debug for TopicRuleListItemBuilder
source§impl Default for TopicRuleListItemBuilder
impl Default for TopicRuleListItemBuilder
source§fn default() -> TopicRuleListItemBuilder
fn default() -> TopicRuleListItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TopicRuleListItemBuilder
impl PartialEq for TopicRuleListItemBuilder
source§fn eq(&self, other: &TopicRuleListItemBuilder) -> bool
fn eq(&self, other: &TopicRuleListItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicRuleListItemBuilder
Auto Trait Implementations§
impl Freeze for TopicRuleListItemBuilder
impl RefUnwindSafe for TopicRuleListItemBuilder
impl Send for TopicRuleListItemBuilder
impl Sync for TopicRuleListItemBuilder
impl Unpin for TopicRuleListItemBuilder
impl UnwindSafe for TopicRuleListItemBuilder
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> 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.