#[non_exhaustive]pub struct CreateTopicInputBuilder { /* private fields */ }
Expand description
A builder for CreateTopicInput
.
Implementations§
source§impl CreateTopicInputBuilder
impl CreateTopicInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that you want to create a topic in.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that you want to create a topic in.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that you want to create a topic in.
sourcepub fn topic_id(self, input: impl Into<String>) -> Self
pub fn topic_id(self, input: impl Into<String>) -> Self
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
This field is required.sourcepub fn set_topic_id(self, input: Option<String>) -> Self
pub fn set_topic_id(self, input: Option<String>) -> Self
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn get_topic_id(&self) -> &Option<String>
pub fn get_topic_id(&self) -> &Option<String>
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn topic(self, input: TopicDetails) -> Self
pub fn topic(self, input: TopicDetails) -> Self
The definition of a topic to create.
This field is required.sourcepub fn set_topic(self, input: Option<TopicDetails>) -> Self
pub fn set_topic(self, input: Option<TopicDetails>) -> Self
The definition of a topic to create.
sourcepub fn get_topic(&self) -> &Option<TopicDetails>
pub fn get_topic(&self) -> &Option<TopicDetails>
The definition of a topic to create.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
sourcepub fn build(self) -> Result<CreateTopicInput, BuildError>
pub fn build(self) -> Result<CreateTopicInput, BuildError>
Consumes the builder and constructs a CreateTopicInput
.
source§impl CreateTopicInputBuilder
impl CreateTopicInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTopicOutput, SdkError<CreateTopicError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTopicOutput, SdkError<CreateTopicError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTopicInputBuilder
impl Clone for CreateTopicInputBuilder
source§fn clone(&self) -> CreateTopicInputBuilder
fn clone(&self) -> CreateTopicInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTopicInputBuilder
impl Debug for CreateTopicInputBuilder
source§impl Default for CreateTopicInputBuilder
impl Default for CreateTopicInputBuilder
source§fn default() -> CreateTopicInputBuilder
fn default() -> CreateTopicInputBuilder
source§impl PartialEq for CreateTopicInputBuilder
impl PartialEq for CreateTopicInputBuilder
source§fn eq(&self, other: &CreateTopicInputBuilder) -> bool
fn eq(&self, other: &CreateTopicInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.