#[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.
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 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.
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 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.
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 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 for UpdateTopicInputBuilder
impl PartialEq for UpdateTopicInputBuilder
impl StructuralPartialEq for UpdateTopicInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTopicInputBuilder
impl RefUnwindSafe for UpdateTopicInputBuilder
impl Send for UpdateTopicInputBuilder
impl Sync for UpdateTopicInputBuilder
impl Unpin for UpdateTopicInputBuilder
impl UnwindSafe for UpdateTopicInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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