Struct aws_sdk_docdb::operation::add_source_identifier_to_subscription::builders::AddSourceIdentifierToSubscriptionInputBuilder
source · #[non_exhaustive]pub struct AddSourceIdentifierToSubscriptionInputBuilder { /* private fields */ }Expand description
A builder for AddSourceIdentifierToSubscriptionInput.
Implementations§
source§impl AddSourceIdentifierToSubscriptionInputBuilder
impl AddSourceIdentifierToSubscriptionInputBuilder
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 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
DBInstanceIdentifiermust be provided. -
If the source type is a security group, a
DBSecurityGroupNamemust be provided. -
If the source type is a parameter group, a
DBParameterGroupNamemust be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifiermust 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
DBInstanceIdentifiermust be provided. -
If the source type is a security group, a
DBSecurityGroupNamemust be provided. -
If the source type is a parameter group, a
DBParameterGroupNamemust be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifiermust be provided.
sourcepub fn build(self) -> Result<AddSourceIdentifierToSubscriptionInput, BuildError>
pub fn build(self) -> Result<AddSourceIdentifierToSubscriptionInput, BuildError>
Consumes the builder and constructs a AddSourceIdentifierToSubscriptionInput.
Trait Implementations§
source§impl Clone for AddSourceIdentifierToSubscriptionInputBuilder
impl Clone for AddSourceIdentifierToSubscriptionInputBuilder
source§fn clone(&self) -> AddSourceIdentifierToSubscriptionInputBuilder
fn clone(&self) -> AddSourceIdentifierToSubscriptionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AddSourceIdentifierToSubscriptionInputBuilder
impl Default for AddSourceIdentifierToSubscriptionInputBuilder
source§fn default() -> AddSourceIdentifierToSubscriptionInputBuilder
fn default() -> AddSourceIdentifierToSubscriptionInputBuilder
source§impl PartialEq<AddSourceIdentifierToSubscriptionInputBuilder> for AddSourceIdentifierToSubscriptionInputBuilder
impl PartialEq<AddSourceIdentifierToSubscriptionInputBuilder> for AddSourceIdentifierToSubscriptionInputBuilder
source§fn eq(&self, other: &AddSourceIdentifierToSubscriptionInputBuilder) -> bool
fn eq(&self, other: &AddSourceIdentifierToSubscriptionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.