@SdkInternalApi
    final DBInstanceAutomatedBackup executeStopDBInstanceAutomatedBackupsReplication(
            StopDBInstanceAutomatedBackupsReplicationRequest stopDBInstanceAutomatedBackupsReplicationRequest) {

        ExecutionContext executionContext = createExecutionContext(stopDBInstanceAutomatedBackupsReplicationRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<StopDBInstanceAutomatedBackupsReplicationRequest> request = null;
        Response<DBInstanceAutomatedBackup> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new StopDBInstanceAutomatedBackupsReplicationRequestMarshaller().marshall(super
                        .beforeMarshalling(stopDBInstanceAutomatedBackupsReplicationRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "RDS");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "StopDBInstanceAutomatedBackupsReplication");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            StaxResponseHandler<DBInstanceAutomatedBackup> responseHandler = new StaxResponseHandler<DBInstanceAutomatedBackup>(
                    new DBInstanceAutomatedBackupStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Stops automated backup replication for a DB instance.
</p>
<p>
This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html"> Replicating Automated
Backups to Another Amazon Web Services Region</a> in the <i>Amazon RDS User Guide.</i>
</p>

@param stopDBInstanceAutomatedBackupsReplicationRequest
@return Result of the StopDBInstanceAutomatedBackupsReplication operation returned by the service.
@throws DBInstanceNotFoundException
        <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.
@throws InvalidDBInstanceStateException
        The DB instance isn't in a valid state.
@sample AmazonRDS.StopDBInstanceAutomatedBackupsReplication
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceAutomatedBackupsReplication"
     target="_top">AWS API Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java