Struct aws_sdk_docdb::operation::remove_source_identifier_from_subscription::builders::RemoveSourceIdentifierFromSubscriptionInputBuilder
source · #[non_exhaustive]pub struct RemoveSourceIdentifierFromSubscriptionInputBuilder { /* private fields */ }
Expand description
A builder for RemoveSourceIdentifierFromSubscriptionInput
.
Implementations§
source§impl RemoveSourceIdentifierFromSubscriptionInputBuilder
impl RemoveSourceIdentifierFromSubscriptionInputBuilder
sourcepub fn subscription_name(self, input: impl Into<String>) -> Self
pub fn subscription_name(self, input: impl Into<String>) -> Self
The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.
sourcepub fn set_subscription_name(self, input: Option<String>) -> Self
pub fn set_subscription_name(self, input: Option<String>) -> Self
The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.
sourcepub fn get_subscription_name(&self) -> &Option<String>
pub fn get_subscription_name(&self) -> &Option<String>
The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.
sourcepub fn source_identifier(self, input: impl Into<String>) -> Self
pub fn source_identifier(self, input: impl Into<String>) -> Self
The source identifier to be removed from the subscription, such as the instance identifier for an instance, or the name of a security group.
sourcepub fn set_source_identifier(self, input: Option<String>) -> Self
pub fn set_source_identifier(self, input: Option<String>) -> Self
The source identifier to be removed from the subscription, such as the instance identifier for an instance, or the name of a security group.
sourcepub fn get_source_identifier(&self) -> &Option<String>
pub fn get_source_identifier(&self) -> &Option<String>
The source identifier to be removed from the subscription, such as the instance identifier for an instance, or the name of a security group.
sourcepub fn build(
self
) -> Result<RemoveSourceIdentifierFromSubscriptionInput, BuildError>
pub fn build( self ) -> Result<RemoveSourceIdentifierFromSubscriptionInput, BuildError>
Consumes the builder and constructs a RemoveSourceIdentifierFromSubscriptionInput
.
source§impl RemoveSourceIdentifierFromSubscriptionInputBuilder
impl RemoveSourceIdentifierFromSubscriptionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RemoveSourceIdentifierFromSubscriptionOutput, SdkError<RemoveSourceIdentifierFromSubscriptionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RemoveSourceIdentifierFromSubscriptionOutput, SdkError<RemoveSourceIdentifierFromSubscriptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl Clone for RemoveSourceIdentifierFromSubscriptionInputBuilder
source§fn clone(&self) -> RemoveSourceIdentifierFromSubscriptionInputBuilder
fn clone(&self) -> RemoveSourceIdentifierFromSubscriptionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl Default for RemoveSourceIdentifierFromSubscriptionInputBuilder
source§fn default() -> RemoveSourceIdentifierFromSubscriptionInputBuilder
fn default() -> RemoveSourceIdentifierFromSubscriptionInputBuilder
source§impl PartialEq<RemoveSourceIdentifierFromSubscriptionInputBuilder> for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl PartialEq<RemoveSourceIdentifierFromSubscriptionInputBuilder> for RemoveSourceIdentifierFromSubscriptionInputBuilder
source§fn eq(&self, other: &RemoveSourceIdentifierFromSubscriptionInputBuilder) -> bool
fn eq(&self, other: &RemoveSourceIdentifierFromSubscriptionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.