Interface AddSourceIdentifierToSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddSourceIdentifierToSubscriptionRequest.Builder,,AddSourceIdentifierToSubscriptionRequest> NeptuneRequest.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 event notification subscription you want to add a source identifier to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subscriptionName
The name of the event notification subscription you want to add a source identifier to.
- Parameters:
subscriptionName- The name of the event notification subscription 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.
Constraints:
-
If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- Parameters:
sourceIdentifier- The identifier of the event source to be added.Constraints:
-
If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
-
- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-