#[non_exhaustive]pub struct ReplaceTopicRuleInputBuilder { /* private fields */ }
Expand description
A builder for ReplaceTopicRuleInput
.
Implementations§
source§impl ReplaceTopicRuleInputBuilder
impl ReplaceTopicRuleInputBuilder
sourcepub fn rule_name(self, input: impl Into<String>) -> Self
pub fn rule_name(self, input: impl Into<String>) -> Self
The name of the rule.
This field is required.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_rule_payload(self, input: TopicRulePayload) -> Self
pub fn topic_rule_payload(self, input: TopicRulePayload) -> Self
The rule payload.
This field is required.sourcepub fn set_topic_rule_payload(self, input: Option<TopicRulePayload>) -> Self
pub fn set_topic_rule_payload(self, input: Option<TopicRulePayload>) -> Self
The rule payload.
sourcepub fn get_topic_rule_payload(&self) -> &Option<TopicRulePayload>
pub fn get_topic_rule_payload(&self) -> &Option<TopicRulePayload>
The rule payload.
sourcepub fn build(self) -> Result<ReplaceTopicRuleInput, BuildError>
pub fn build(self) -> Result<ReplaceTopicRuleInput, BuildError>
Consumes the builder and constructs a ReplaceTopicRuleInput
.
source§impl ReplaceTopicRuleInputBuilder
impl ReplaceTopicRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ReplaceTopicRuleOutput, SdkError<ReplaceTopicRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ReplaceTopicRuleOutput, SdkError<ReplaceTopicRuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReplaceTopicRuleInputBuilder
impl Clone for ReplaceTopicRuleInputBuilder
source§fn clone(&self) -> ReplaceTopicRuleInputBuilder
fn clone(&self) -> ReplaceTopicRuleInputBuilder
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 ReplaceTopicRuleInputBuilder
impl Debug for ReplaceTopicRuleInputBuilder
source§impl Default for ReplaceTopicRuleInputBuilder
impl Default for ReplaceTopicRuleInputBuilder
source§fn default() -> ReplaceTopicRuleInputBuilder
fn default() -> ReplaceTopicRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplaceTopicRuleInputBuilder
impl PartialEq for ReplaceTopicRuleInputBuilder
source§fn eq(&self, other: &ReplaceTopicRuleInputBuilder) -> bool
fn eq(&self, other: &ReplaceTopicRuleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplaceTopicRuleInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReplaceTopicRuleInputBuilder
impl Send for ReplaceTopicRuleInputBuilder
impl Sync for ReplaceTopicRuleInputBuilder
impl Unpin for ReplaceTopicRuleInputBuilder
impl UnwindSafe for ReplaceTopicRuleInputBuilder
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>
Creates a shared type from an unshared type.