Interface AddSourceIdentifierToSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddSourceIdentifierToSubscriptionRequest.Builder,
,AddSourceIdentifierToSubscriptionRequest> DocDbRequest.Builder
,SdkBuilder<AddSourceIdentifierToSubscriptionRequest.Builder,
,AddSourceIdentifierToSubscriptionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddSourceIdentifierToSubscriptionRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceIdentifier
(String sourceIdentifier) The identifier of the event source to be added:subscriptionName
(String subscriptionName) The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
subscriptionName
The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
- Parameters:
subscriptionName
- The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdentifier
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.
- Parameters:
sourceIdentifier
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
AddSourceIdentifierToSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddSourceIdentifierToSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-