#[non_exhaustive]pub struct UpdateTopicInputBuilder { /* private fields */ }Expand description
A builder for UpdateTopicInput.
Implementations§
source§impl UpdateTopicInputBuilder
impl UpdateTopicInputBuilder
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 contains the topic that you want to update.
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 contains the topic that you want to update.
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 contains the topic that you want to update.
sourcepub fn topic_id(self, input: impl Into<String>) -> Self
pub fn topic_id(self, input: impl Into<String>) -> Self
The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn set_topic_id(self, input: Option<String>) -> Self
pub fn set_topic_id(self, input: Option<String>) -> Self
The ID of the topic that you want to modify. 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 of the topic that you want to modify. 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 the topic that you want to update.
sourcepub fn set_topic(self, input: Option<TopicDetails>) -> Self
pub fn set_topic(self, input: Option<TopicDetails>) -> Self
The definition of the topic that you want to update.
sourcepub fn get_topic(&self) -> &Option<TopicDetails>
pub fn get_topic(&self) -> &Option<TopicDetails>
The definition of the topic that you want to update.
sourcepub fn build(self) -> Result<UpdateTopicInput, BuildError>
pub fn build(self) -> Result<UpdateTopicInput, BuildError>
Consumes the builder and constructs a UpdateTopicInput.
source§impl UpdateTopicInputBuilder
impl UpdateTopicInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTopicOutput, SdkError<UpdateTopicError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTopicOutput, SdkError<UpdateTopicError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTopicInputBuilder
impl Clone for UpdateTopicInputBuilder
source§fn clone(&self) -> UpdateTopicInputBuilder
fn clone(&self) -> UpdateTopicInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateTopicInputBuilder
impl Debug for UpdateTopicInputBuilder
source§impl Default for UpdateTopicInputBuilder
impl Default for UpdateTopicInputBuilder
source§fn default() -> UpdateTopicInputBuilder
fn default() -> UpdateTopicInputBuilder
source§impl PartialEq<UpdateTopicInputBuilder> for UpdateTopicInputBuilder
impl PartialEq<UpdateTopicInputBuilder> for UpdateTopicInputBuilder
source§fn eq(&self, other: &UpdateTopicInputBuilder) -> bool
fn eq(&self, other: &UpdateTopicInputBuilder) -> bool
self and other values to be equal, and is used
by ==.