Struct aws_sdk_rds::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 RDS 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 RDS event notification subscription 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 RDS event notification subscription 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 RDS event notification subscription 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.
Constraints:
-
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
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.
Constraints:
-
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
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.
Constraints:
-
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
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