#[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 ==
.