#[non_exhaustive]pub struct CreateTopicRuleInputBuilder { /* private fields */ }
Expand description
A builder for CreateTopicRuleInput
.
Implementations§
source§impl CreateTopicRuleInputBuilder
impl CreateTopicRuleInputBuilder
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.
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
sourcepub fn build(self) -> Result<CreateTopicRuleInput, BuildError>
pub fn build(self) -> Result<CreateTopicRuleInput, BuildError>
Consumes the builder and constructs a CreateTopicRuleInput
.
source§impl CreateTopicRuleInputBuilder
impl CreateTopicRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTopicRuleOutput, SdkError<CreateTopicRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTopicRuleOutput, SdkError<CreateTopicRuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTopicRuleInputBuilder
impl Clone for CreateTopicRuleInputBuilder
source§fn clone(&self) -> CreateTopicRuleInputBuilder
fn clone(&self) -> CreateTopicRuleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTopicRuleInputBuilder
impl Debug for CreateTopicRuleInputBuilder
source§impl Default for CreateTopicRuleInputBuilder
impl Default for CreateTopicRuleInputBuilder
source§fn default() -> CreateTopicRuleInputBuilder
fn default() -> CreateTopicRuleInputBuilder
source§impl PartialEq for CreateTopicRuleInputBuilder
impl PartialEq for CreateTopicRuleInputBuilder
source§fn eq(&self, other: &CreateTopicRuleInputBuilder) -> bool
fn eq(&self, other: &CreateTopicRuleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTopicRuleInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTopicRuleInputBuilder
impl RefUnwindSafe for CreateTopicRuleInputBuilder
impl Send for CreateTopicRuleInputBuilder
impl Sync for CreateTopicRuleInputBuilder
impl Unpin for CreateTopicRuleInputBuilder
impl UnwindSafe for CreateTopicRuleInputBuilder
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
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>
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>
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 more