Struct aws_sdk_docdb::operation::add_source_identifier_to_subscription::builders::AddSourceIdentifierToSubscriptionFluentBuilder
source · pub struct AddSourceIdentifierToSubscriptionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddSourceIdentifierToSubscription
.
Adds a source identifier to an existing event notification subscription.
Implementations§
source§impl AddSourceIdentifierToSubscriptionFluentBuilder
impl AddSourceIdentifierToSubscriptionFluentBuilder
sourcepub fn as_input(&self) -> &AddSourceIdentifierToSubscriptionInputBuilder
pub fn as_input(&self) -> &AddSourceIdentifierToSubscriptionInputBuilder
Access the AddSourceIdentifierToSubscription as a reference.
sourcepub async fn send(
self
) -> Result<AddSourceIdentifierToSubscriptionOutput, SdkError<AddSourceIdentifierToSubscriptionError, HttpResponse>>
pub async fn send( self ) -> Result<AddSourceIdentifierToSubscriptionOutput, SdkError<AddSourceIdentifierToSubscriptionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AddSourceIdentifierToSubscriptionOutput, AddSourceIdentifierToSubscriptionError, Self>
pub fn customize( self ) -> CustomizableOperation<AddSourceIdentifierToSubscriptionOutput, AddSourceIdentifierToSubscriptionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 add a source identifier to.
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 add a source identifier to.
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 add a source identifier to.
sourcepub fn source_identifier(self, input: impl Into<String>) -> Self
pub fn source_identifier(self, input: impl Into<String>) -> Self
The identifier of the event source to be added:
-
If the source type is an instance, a
DBInstanceIdentifier
must be provided. -
If the source type is a security group, a
DBSecurityGroupName
must be provided. -
If the source type is a parameter group, a
DBParameterGroupName
must be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifier
must be provided.
sourcepub fn set_source_identifier(self, input: Option<String>) -> Self
pub fn set_source_identifier(self, input: Option<String>) -> Self
The identifier of the event source to be added:
-
If the source type is an instance, a
DBInstanceIdentifier
must be provided. -
If the source type is a security group, a
DBSecurityGroupName
must be provided. -
If the source type is a parameter group, a
DBParameterGroupName
must be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifier
must be provided.
sourcepub fn get_source_identifier(&self) -> &Option<String>
pub fn get_source_identifier(&self) -> &Option<String>
The identifier of the event source to be added:
-
If the source type is an instance, a
DBInstanceIdentifier
must be provided. -
If the source type is a security group, a
DBSecurityGroupName
must be provided. -
If the source type is a parameter group, a
DBParameterGroupName
must be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifier
must be provided.
Trait Implementations§
source§impl Clone for AddSourceIdentifierToSubscriptionFluentBuilder
impl Clone for AddSourceIdentifierToSubscriptionFluentBuilder
source§fn clone(&self) -> AddSourceIdentifierToSubscriptionFluentBuilder
fn clone(&self) -> AddSourceIdentifierToSubscriptionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more