#[non_exhaustive]pub struct EnableTopicRuleInputBuilder { /* private fields */ }Expand description
A builder for EnableTopicRuleInput.
Implementations§
source§impl EnableTopicRuleInputBuilder
impl EnableTopicRuleInputBuilder
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the topic rule to enable.
sourcepub fn build(self) -> Result<EnableTopicRuleInput, BuildError>
pub fn build(self) -> Result<EnableTopicRuleInput, BuildError>
Consumes the builder and constructs a EnableTopicRuleInput.
Trait Implementations§
source§impl Clone for EnableTopicRuleInputBuilder
impl Clone for EnableTopicRuleInputBuilder
source§fn clone(&self) -> EnableTopicRuleInputBuilder
fn clone(&self) -> EnableTopicRuleInputBuilder
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 EnableTopicRuleInputBuilder
impl Debug for EnableTopicRuleInputBuilder
source§impl Default for EnableTopicRuleInputBuilder
impl Default for EnableTopicRuleInputBuilder
source§fn default() -> EnableTopicRuleInputBuilder
fn default() -> EnableTopicRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EnableTopicRuleInputBuilder> for EnableTopicRuleInputBuilder
impl PartialEq<EnableTopicRuleInputBuilder> for EnableTopicRuleInputBuilder
source§fn eq(&self, other: &EnableTopicRuleInputBuilder) -> bool
fn eq(&self, other: &EnableTopicRuleInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EnableTopicRuleInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EnableTopicRuleInputBuilder
impl Send for EnableTopicRuleInputBuilder
impl Sync for EnableTopicRuleInputBuilder
impl Unpin for EnableTopicRuleInputBuilder
impl UnwindSafe for EnableTopicRuleInputBuilder
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