#[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
impl StructuralPartialEq for CreateTopicInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTopicInputBuilder
impl RefUnwindSafe for CreateTopicInputBuilder
impl Send for CreateTopicInputBuilder
impl Sync for CreateTopicInputBuilder
impl Unpin for CreateTopicInputBuilder
impl UnwindSafe for CreateTopicInputBuilder
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