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.
This field is required.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.
This field is required.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 for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for RemoveSourceIdentifierFromSubscriptionInputBuilder
Auto Trait Implementations§
impl Freeze for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl RefUnwindSafe for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl Send for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl Sync for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl Unpin for RemoveSourceIdentifierFromSubscriptionInputBuilder
impl UnwindSafe for RemoveSourceIdentifierFromSubscriptionInputBuilder
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> 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